mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-01-01 15:52:36 +01:00
Added names function.
This commit is contained in:
parent
1d3a332769
commit
d1884179b3
@ -618,6 +618,11 @@ def whois(nick, mask='', prefix=''):
|
||||
assert isNick(nick), repr(nick)
|
||||
return IrcMsg(prefix=prefix, command='WHOIS', args=(nick, mask))
|
||||
|
||||
def names(channel, prefix=''):
|
||||
if conf.supybot.protocols.irc.strictRfc():
|
||||
assert isChannel(channel)
|
||||
return IrcMsg(prefix=prefix, command='NAMES', args=(channel,))
|
||||
|
||||
def mode(channel, args=(), prefix=''):
|
||||
if isinstance(args, basestring):
|
||||
args = (args,)
|
||||
|
Loading…
Reference in New Issue
Block a user