From 8cce07e3649c94260d81e1430ec6de773a3034fd Mon Sep 17 00:00:00 2001 From: Jon Bergli Heier Date: Sat, 14 Nov 2009 01:45:19 +0100 Subject: Print correct updated module info. --- fot.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/fot.py b/fot.py index 8975979..663069d 100755 --- a/fot.py +++ b/fot.py @@ -33,7 +33,7 @@ def load_modules(): else: modules[m] = __import__('modules.' + m, globals(), locals(), ['Module']) mod = modules[m] - print '%s version %s by %s (%s)' % (mod.info['title'], mod.info['version'], mod.info['author'], mod.info['license']) + print '%s by %s' % (mod.info['title'], mod.info['author']) del mod except: print 'Failed to load', m @@ -116,6 +116,7 @@ for server in config.sections(): factory = BotFactory(server, config.get(server, 'nickname')) reactor.connectTCP(config.get(server, 'host'), config.getint(server, 'port'), factory) +# TODO: Fix user/pass loginfactory = login.getManholeFactory(globals(), user = 'pass') reactor.listenTCP(3333, loginfactory) -- cgit v1.2.3