mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-27 05:09:23 +01:00
many('text') => many('something') since we don't want to combineRest. Also,
fix a mistyped variable name.
This commit is contained in:
parent
df0b661d92
commit
4c6ad94435
@ -286,11 +286,11 @@ class Factoids(callbacks.Privmsg):
|
||||
except KeyError:
|
||||
name = msg.nick
|
||||
try:
|
||||
self.db.add(channel, key, factoid, nick)
|
||||
self.db.add(channel, key, factoid, name)
|
||||
irc.replySuccess()
|
||||
except LockError:
|
||||
irc.error('That factoid is locked.')
|
||||
learn = wrap(learn, ['channeldb', many('text')])
|
||||
learn = wrap(learn, ['channeldb', many('something')])
|
||||
|
||||
def _replyFactoids(self, irc, channel, key, factoids, number=0, error=True):
|
||||
if factoids:
|
||||
|
Loading…
Reference in New Issue
Block a user