mirror of
https://github.com/jlu5/SupyPlugins.git
synced 2025-05-06 11:33:41 -05:00
RelayLink: more bugfixes, handle 'nicks --count' a bit better
This commit is contained in:
parent
6ca8f14f87
commit
bfd9beadf1
@ -481,13 +481,12 @@ class RelayLink(callbacks.Plugin):
|
|||||||
relay.targetChannel,
|
relay.targetChannel,
|
||||||
relay.targetNetwork,
|
relay.targetNetwork,
|
||||||
utils.str.commaAndify(users))
|
utils.str.commaAndify(users))
|
||||||
if 'count' not in keys:
|
if 'count' not in keys: irc.reply(s, private=True)
|
||||||
irc.reply(s, private=True)
|
if not irc.nested:
|
||||||
irc.reply("Total users across %d channels: %d. " % \
|
irc.reply("Total users across %d channels: %d. " % \
|
||||||
(totalChans, totalUsers), private=True)
|
(totalChans, totalUsers), private=False if 'count' in keys else True)
|
||||||
else:
|
else:
|
||||||
irc.reply("Total users across %d channels: %d. " % \
|
irc.reply(totalUsers)
|
||||||
(totalChans, totalUsers))
|
|
||||||
irc.noReply()
|
irc.noReply()
|
||||||
nicks = wrap(nicks, ['Channel', getopts({'count':''})])
|
nicks = wrap(nicks, ['Channel', getopts({'count':''})])
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user