fixbot/irc.py
changeset 44 779d7cd38f1a
parent 23 67e71e9170e5
child 58 31a17b0b5159
--- 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)