mirror of
https://github.com/jlu5/PyLink.git
synced 2024-11-23 19:19:31 +01:00
commands: remove explicit cutoff of 20 users/line in showchan
irc.reply() in PyLink 2.0+ handles line wrapping automatically.
This commit is contained in:
parent
fe95a4a571
commit
dfc4e4954a
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user