src/ircmsgs: modes doesn't just quiet ('Returns a MODE to /quiet/ each of nicks on channel') (#1313)

* src/ircmsgs: modes doesn't just quiet ('Returns a MODE to /quiet/ each of nicks on channel')

* plus also fix some possible english issues

* src/ircmsgs: fix up docs per @GLolol

* src/ircmsgs: fix up wording per @ProgVal s/pairs/2-tuples/
This commit is contained in:
Ken Spencer 2017-10-29 11:55:10 -04:00 committed by Valentin Lorentz
parent 40b469ef82
commit e08a393960
1 changed files with 1 additions and 1 deletions

View File

@ -840,7 +840,7 @@ def mode(channel, args=(), prefix='', msg=None):
return IrcMsg(prefix=prefix, command='MODE', args=(channel,)+args, msg=msg)
def modes(channel, args=(), prefix='', msg=None):
"""Returns a MODE to quiet each of nicks on channel."""
"""Returns a MODE message for the channel for all the (mode, targetOrNone) 2-tuples in 'args'."""
if conf.supybot.protocols.irc.strictRfc():
assert isChannel(channel), repr(channel)
modes = args