From 29e13a9061abff0392f04c51c35e8130c5a288a5 Mon Sep 17 00:00:00 2001 From: Valentin Lorentz Date: Fri, 4 Jan 2013 22:16:08 +0100 Subject: [PATCH] Fix 'more' wrapping for long words; bug introduced in 169392e5. --- src/callbacks.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/callbacks.py b/src/callbacks.py index 523806a61..ed7ba4276 100644 --- a/src/callbacks.py +++ b/src/callbacks.py @@ -915,7 +915,8 @@ class NestedCommandsIrcProxy(ReplyIrcProxy): prefixNick=self.prefixNick) self.irc.queueMsg(m) return m - msgs = ircutils.wrap(s, allowedLength) + msgs = ircutils.wrap(s, allowedLength, + break_long_words=True) msgs.reverse() instant = conf.get(conf.supybot.reply.mores.instant,target) while instant > 1 and msgs: