Updated ChannelIdDatabasePlugin's getCommandHelp signature

Signed-off-by: James Vega <jamessan@users.sourceforge.net>
This commit is contained in:
James Vega 2009-07-14 20:30:57 -04:00
parent 43129239d6
commit c9329303d3

View File

@ -352,8 +352,8 @@ class ChannelIdDatabasePlugin(callbacks.Plugin):
self.db.close()
self.__parent.die()
def getCommandHelp(self, name):
help = self.__parent.getCommandHelp(name)
def getCommandHelp(self, name, simpleSyntax=None):
help = self.__parent.getCommandHelp(name, simpleSyntax)
help = help.replace('$Types', format('%p', self.name()))
help = help.replace('$Type', self.name())
help = help.replace('$types', format('%p', self.name().lower()))