From 5c660fd56e25922a388b466ae361e41791024e7e Mon Sep 17 00:00:00 2001 From: Jeremy Fincher Date: Mon, 16 Feb 2004 04:10:06 +0000 Subject: [PATCH] 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\! --- src/Misc.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Misc.py b/src/Misc.py index 836081afd..7b94e8e39 100755 --- a/src/Misc.py +++ b/src/Misc.py @@ -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]