mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-23 19:19:32 +01:00
Factoids: Fix thinko in getCommandHelp
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
This commit is contained in:
parent
5301390290
commit
4285df0809
@ -1,5 +1,6 @@
|
|||||||
###
|
###
|
||||||
# Copyright (c) 2002-2005, Jeremiah Fincher
|
# Copyright (c) 2002-2005, Jeremiah Fincher
|
||||||
|
# Copyright (c) 2009, James Vega
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
#
|
#
|
||||||
# Redistribution and use in source and binary forms, with or without
|
# Redistribution and use in source and binary forms, with or without
|
||||||
@ -114,7 +115,7 @@ class Factoids(callbacks.Plugin, plugins.ChannelDBHandler):
|
|||||||
return help(method,
|
return help(method,
|
||||||
doc=method._fake__doc__ % (s, s),
|
doc=method._fake__doc__ % (s, s),
|
||||||
name=callbacks.formatCommand(command))
|
name=callbacks.formatCommand(command))
|
||||||
return super(Factoids, self).getCommandHelp(self, command)
|
return super(Factoids, self).getCommandHelp(command)
|
||||||
|
|
||||||
def learn(self, irc, msg, args, channel, key, factoid):
|
def learn(self, irc, msg, args, channel, key, factoid):
|
||||||
db = self.getDb(channel)
|
db = self.getDb(channel)
|
||||||
|
Loading…
Reference in New Issue
Block a user