summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJon Bergli Heier <snakebite@jvnv.net>2009-11-14 01:45:19 +0100
committerJon Bergli Heier <snakebite@jvnv.net>2009-11-14 01:45:19 +0100
commit8cce07e3649c94260d81e1430ec6de773a3034fd (patch)
tree0cc33dca3bba79481bcd09ff7a5fbb05f1ea66e8
parentdcebcafcc52ae847077890b551b8319d80d36d91 (diff)
Print correct updated module info.
-rwxr-xr-xfot.py3
1 files changed, 2 insertions, 1 deletions
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)