Factoids: fix merge problem (duplicated wrap()-ing). Thanks kini fore the report

This commit is contained in:
Valentin Lorentz 2011-04-09 15:24:52 +02:00
parent ab087f4b45
commit 2791955209

View File

@ -325,8 +325,6 @@ class Factoids(callbacks.Plugin, plugins.ChannelDBHandler):
self._replyFactoids(irc, msg, key, channel, factoids, number, raw=raw)
else:
self._replyApproximateFactoids(irc, msg, channel, key)
whatis = wrap(whatis, ['channel', many('something')])
whatis = wrap(whatis, ['channel',
getopts({'raw': '',}),
many('something')])
@ -398,7 +396,6 @@ class Factoids(callbacks.Plugin, plugins.ChannelDBHandler):
irc.replySuccess()
else:
irc.error(_('This key-factoid relationship already exists.'))
alias = wrap(alias, ['channel', 'something', 'something', optional('int')])
@internationalizeDocstring