From 1ddc5195d48e555a619e93a0602f6edced338545 Mon Sep 17 00:00:00 2001 From: Jeremy Fincher Date: Mon, 20 Oct 2003 05:56:14 +0000 Subject: [PATCH] Fixed bug in list, was using .startswith instead of == for the plugin name. --- src/MiscCommands.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/MiscCommands.py b/src/MiscCommands.py index 0a938de28..b971478c3 100755 --- a/src/MiscCommands.py +++ b/src/MiscCommands.py @@ -111,7 +111,7 @@ class MiscCommands(callbacks.Privmsg): else: for cb in irc.callbacks: cls = cb.__class__ - if cb.name().lower().startswith(name) and \ + if cb.name().lower() == name and \ not issubclass(cls, callbacks.PrivmsgRegexp) and \ issubclass(cls, callbacks.Privmsg): commands = [x for x in dir(cls)