many('text') => many('something') since we don't want to combineRest. Also,

fix a mistyped variable name.
This commit is contained in:
James Vega 2004-10-31 15:17:33 +00:00
parent df0b661d92
commit 4c6ad94435
1 changed files with 2 additions and 2 deletions

View File

@ -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: