--- a/fixbot/irc.py Thu Feb 04 19:54:49 2010 +0200
+++ b/fixbot/irc.py Thu Feb 04 20:10:34 2010 +0200
@@ -59,7 +59,7 @@
self.send("[%s.%s] %s" % (event.module.name, event.type, event.msg))
def moduleConnected (self, module, addr) :
- self.send("{modules.%s} connected from %s:%d, version %s" % (module.name, addr.host, addr.port, module.version))
+ self.send("{modules.%s} connected from %s" % (module.name, addr))
def moduleDisconnected (self, module, reason) :
self.send("{modules.%s} disconnected: %s" % (module.name, reason))
@@ -112,7 +112,7 @@
try :
module, addr = self.nexus.getModuleInfo(cmd)
- return "%s is version %d from %s:%d. Events: %s. See `commands %s' for a list of commands" % (module.name, module.version, addr.host, addr.port, ', '.join(module.event_types), module.name)
+ return "%s from %s. Events: %s. See `commands %s' for a list of commands" % (module.name, addr, ', '.join(module.event_types), module.name)
except KeyError :
raise ReplyException("No command/module called `%s'. See `help commands'" % cmd)