No need to define Alias.listCommands.

Doing so can actually result in duplicate alias listings.
This commit is contained in:
James Vega 2009-01-05 23:11:25 +00:00
parent 768119d258
commit 20dd2a0782

View File

@ -202,12 +202,6 @@ class Alias(callbacks.Plugin):
else:
return True
def listCommands(self):
commands = self.__parent.listCommands()
commands.extend(self.aliases.keys())
commands.sort()
return commands
def getCommandMethod(self, command):
try:
return self.__parent.getCommandMethod(command)