Had the more and the messages reversed.

This commit is contained in:
Jeremy Fincher 2005-02-10 01:28:38 +00:00
parent f7917bce77
commit 181d0d59c6
2 changed files with 2 additions and 2 deletions

View File

@ -296,7 +296,7 @@ class Misc(callbacks.Plugin):
L = irc._mores[userHostmask]
chunk = L.pop()
if L:
chunk += format(' \x02(%n)\x0F', (len(L), 'message', 'more'))
chunk += format(' \x02(%n)\x0F', (len(L), 'more', 'message'))
irc.reply(chunk, True)
except KeyError:
irc.error('You haven\'t asked me a command; perhaps you want '

View File

@ -849,7 +849,7 @@ class IrcObjectProxy(RichReplyMethods):
response = msgs.pop()
if msgs:
n = ircutils.bold('(%s)')
n %= format('%n', (len(msgs), 'message', 'more'))
n %= format('%n', (len(msgs), 'more', 'message'))
response = '%s %s' % (response, n)
prefix = msg.prefix
if self.to and ircutils.isNick(self.to):