Fixed's Strike's bug in Misc.revision. IT'S STRIKE'S BUG, MIND YOU\! IT ALWAYS HAS BEEN STRIKE'S BUG\!\! DON\'T EVER LET HIM TELL YOU OTHERWISE\!

This commit is contained in:
Jeremy Fincher 2004-02-16 04:10:06 +00:00
parent bdbcd9562c
commit 5c660fd56e

View File

@ -270,8 +270,8 @@ class Misc(callbacks.Privmsg):
if 'supybot' in module.__file__:
names[name] = getVersion(module.__revision__)
else:
for dir in dirs:
if dir in module.__file__:
for dir in conf.supybot.directories.plugins():
if module.__file__.startswith(dir):
names[name] = getVersion(module.__revision__)
break
L = ['%s: %s' % (k, v) for (k, v) in names.items() if v]