From bb4d9afe1608ee61e1018f09c490b51a65742ff0 Mon Sep 17 00:00:00 2001 From: Jeremy Fincher Date: Tue, 16 Dec 2003 13:34:12 +0000 Subject: [PATCH] Made more platform-neutral (ironically). --- plugins/Unix.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/Unix.py b/plugins/Unix.py index f5d20944f..f8301c456 100644 --- a/plugins/Unix.py +++ b/plugins/Unix.py @@ -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.')