From 4c6ad9443538bf6eb6332157b79c6b018d51d206 Mon Sep 17 00:00:00 2001 From: James Vega Date: Sun, 31 Oct 2004 15:17:33 +0000 Subject: [PATCH] many('text') => many('something') since we don't want to combineRest. Also, fix a mistyped variable name. --- plugins/Factoids.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/Factoids.py b/plugins/Factoids.py index 8d9b6c51e..a7a0ff40f 100644 --- a/plugins/Factoids.py +++ b/plugins/Factoids.py @@ -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: