mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-23 19:19:32 +01:00
Made more platform-neutral (ironically).
This commit is contained in:
parent
db8d18b1aa
commit
bb4d9afe16
@ -194,7 +194,7 @@ class Unix(callbacks.Privmsg):
|
||||
try:
|
||||
line = pipeReadline(r)
|
||||
# aspell puts extra whitespace, ignore it
|
||||
while line == '\n':
|
||||
while not line.strip('\r\n'):
|
||||
line = pipeReadline(r)
|
||||
except TimeoutError:
|
||||
irc.error(msg, 'The spell command timed out.')
|
||||
|
Loading…
Reference in New Issue
Block a user