diff --git a/ircbot.py b/ircbot.py index 3ca35bd..149963b 100755 --- a/ircbot.py +++ b/ircbot.py @@ -132,6 +132,8 @@ class Keyhandler(threading.Thread): while True: line=raw_input() c=line.split(' ') + if c == '': + continue if c[0] in botcmd.concmd: botcmd.execcmd(c) if c[0]=='/j' and len(c)==2: