mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-27 13:19:24 +01:00
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:
parent
40b469ef82
commit
e08a393960
@ -840,7 +840,7 @@ def mode(channel, args=(), prefix='', msg=None):
|
|||||||
return IrcMsg(prefix=prefix, command='MODE', args=(channel,)+args, msg=msg)
|
return IrcMsg(prefix=prefix, command='MODE', args=(channel,)+args, msg=msg)
|
||||||
|
|
||||||
def modes(channel, args=(), prefix='', msg=None):
|
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():
|
if conf.supybot.protocols.irc.strictRfc():
|
||||||
assert isChannel(channel), repr(channel)
|
assert isChannel(channel), repr(channel)
|
||||||
modes = args
|
modes = args
|
||||||
|
Loading…
Reference in New Issue
Block a user