Fixed problem in do002, splitting the wrong arg.

This commit is contained in:
Jeremy Fincher 2004-01-02 21:32:56 +00:00
parent e9c67b25a5
commit 14eff0fdf1
1 changed files with 1 additions and 1 deletions

View File

@ -546,7 +546,7 @@ class Irc(IrcCommandDispatcher):
def do002(self, msg):
"""Logs the ircd version."""
(beginning, version) = rsplit(msg.args[0], maxsplit=1)
(beginning, version) = rsplit(msg.args[-1], maxsplit=1)
log.info('Server %s has version %s', self.server, version)
def doPing(self, msg):