From dfc4e4954a52f32fed876219fcb04c4f3639fae3 Mon Sep 17 00:00:00 2001 From: James Lu Date: Sun, 16 Jun 2019 11:20:26 -0700 Subject: [PATCH] commands: remove explicit cutoff of 20 users/line in showchan irc.reply() in PyLink 2.0+ handles line wrapping automatically. --- plugins/commands.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/plugins/commands.py b/plugins/commands.py index aa7a852..f69571c 100644 --- a/plugins/commands.py +++ b/plugins/commands.py @@ -145,9 +145,7 @@ def showchan(irc, source, args): nick = irc.prefixmodes.get(irc.cmodes.get(pmode, ''), '') + nick nicklist.append(nick) - while nicklist[:20]: # 20 nicks per line to prevent message cutoff. - f('\x02User list\x02: %s' % ' '.join(nicklist[:20])) - nicklist = nicklist[20:] + f('\x02User list\x02: %s' % ' '.join(nicklist)) @utils.add_cmd def version(irc, source, args):