mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-27 13:19:24 +01:00
Fixed problem in do002, splitting the wrong arg.
This commit is contained in:
parent
e9c67b25a5
commit
14eff0fdf1
@ -546,7 +546,7 @@ class Irc(IrcCommandDispatcher):
|
|||||||
|
|
||||||
def do002(self, msg):
|
def do002(self, msg):
|
||||||
"""Logs the ircd version."""
|
"""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)
|
log.info('Server %s has version %s', self.server, version)
|
||||||
|
|
||||||
def doPing(self, msg):
|
def doPing(self, msg):
|
||||||
|
Loading…
Reference in New Issue
Block a user