Made more platform-neutral (ironically).

This commit is contained in:
Jeremy Fincher 2003-12-16 13:34:12 +00:00
parent db8d18b1aa
commit bb4d9afe16
1 changed files with 1 additions and 1 deletions

View File

@ -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.')