mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-01-23 18:44:04 +01:00
Had the more and the messages reversed.
This commit is contained in:
parent
f7917bce77
commit
181d0d59c6
@ -296,7 +296,7 @@ class Misc(callbacks.Plugin):
|
|||||||
L = irc._mores[userHostmask]
|
L = irc._mores[userHostmask]
|
||||||
chunk = L.pop()
|
chunk = L.pop()
|
||||||
if L:
|
if L:
|
||||||
chunk += format(' \x02(%n)\x0F', (len(L), 'message', 'more'))
|
chunk += format(' \x02(%n)\x0F', (len(L), 'more', 'message'))
|
||||||
irc.reply(chunk, True)
|
irc.reply(chunk, True)
|
||||||
except KeyError:
|
except KeyError:
|
||||||
irc.error('You haven\'t asked me a command; perhaps you want '
|
irc.error('You haven\'t asked me a command; perhaps you want '
|
||||||
|
@ -849,7 +849,7 @@ class IrcObjectProxy(RichReplyMethods):
|
|||||||
response = msgs.pop()
|
response = msgs.pop()
|
||||||
if msgs:
|
if msgs:
|
||||||
n = ircutils.bold('(%s)')
|
n = ircutils.bold('(%s)')
|
||||||
n %= format('%n', (len(msgs), 'message', 'more'))
|
n %= format('%n', (len(msgs), 'more', 'message'))
|
||||||
response = '%s %s' % (response, n)
|
response = '%s %s' % (response, n)
|
||||||
prefix = msg.prefix
|
prefix = msg.prefix
|
||||||
if self.to and ircutils.isNick(self.to):
|
if self.to and ircutils.isNick(self.to):
|
||||||
|
Loading…
Reference in New Issue
Block a user