mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-23 19:19:32 +01:00
Fix 'more' wrapping for long words; bug introduced in 169392e5
.
This commit is contained in:
parent
e86768b61a
commit
29e13a9061
@ -915,7 +915,8 @@ class NestedCommandsIrcProxy(ReplyIrcProxy):
|
|||||||
prefixNick=self.prefixNick)
|
prefixNick=self.prefixNick)
|
||||||
self.irc.queueMsg(m)
|
self.irc.queueMsg(m)
|
||||||
return m
|
return m
|
||||||
msgs = ircutils.wrap(s, allowedLength)
|
msgs = ircutils.wrap(s, allowedLength,
|
||||||
|
break_long_words=True)
|
||||||
msgs.reverse()
|
msgs.reverse()
|
||||||
instant = conf.get(conf.supybot.reply.mores.instant,target)
|
instant = conf.get(conf.supybot.reply.mores.instant,target)
|
||||||
while instant > 1 and msgs:
|
while instant > 1 and msgs:
|
||||||
|
Loading…
Reference in New Issue
Block a user