diff options
-rwxr-xr-x | Synapse/bot2.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/Synapse/bot2.py b/Synapse/bot2.py index 63db57cb..66621ed1 100755 --- a/Synapse/bot2.py +++ b/Synapse/bot2.py @@ -44,10 +44,8 @@ class IRCBot(SimpleIRCClient): target, arguments = arguments arguments = re.split('\s+', arguments, 1) - if len(arguments) != 2: - return - command, arguments = arguments + command, arguments = arguments if len(arguments) == 2 else [arguments[0],[]] self.connection.privmsg(self.target, '- target: ' + target) self.connection.privmsg(self.target, '- command: ' + command) |