Directly call isCommandMethod from listCommands.

This commit is contained in:
James Vega 2009-01-05 23:11:17 +00:00
parent 0b6926826a
commit 768119d258

View File

@ -1146,7 +1146,7 @@ class Commands(BasePlugin):
def listCommands(self):
commands = []
for s in dir(self):
if self.isCommand(s):
if self.isCommandMethod(s):
commands.append(s)
for cb in self.cbs:
name = cb.canonicalName()