From 181d0d59c639e023aa64bc0e922b94cfeef40c6f Mon Sep 17 00:00:00 2001 From: Jeremy Fincher Date: Thu, 10 Feb 2005 01:28:38 +0000 Subject: [PATCH] Had the more and the messages reversed. --- plugins/Misc/plugin.py | 2 +- src/callbacks.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/Misc/plugin.py b/plugins/Misc/plugin.py index 0f160692b..6dc03463b 100644 --- a/plugins/Misc/plugin.py +++ b/plugins/Misc/plugin.py @@ -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 ' diff --git a/src/callbacks.py b/src/callbacks.py index 080b8886a..bbcc0cfa6 100644 --- a/src/callbacks.py +++ b/src/callbacks.py @@ -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):