mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-29 06:02:38 +01:00
Added the capability to specify a mask for the whois helper.
This commit is contained in:
parent
af9d8b6c28
commit
710dcd71c6
@ -510,10 +510,10 @@ def who(hostmaskOrChannel, prefix=''):
|
||||
hostmaskOrChannel
|
||||
return IrcMsg(prefix=prefix, command='WHO', args=(hostmaskOrChannel,))
|
||||
|
||||
def whois(nick, prefix=''):
|
||||
def whois(nick, mask='', prefix=''):
|
||||
"""Returns a WHOIS for nick."""
|
||||
assert isNick(nick), nick
|
||||
return IrcMsg(prefix=prefix, command='WHOIS', args=(nick,))
|
||||
return IrcMsg(prefix=prefix, command='WHOIS', args=(nick, mask))
|
||||
|
||||
def invite(channel, nick, prefix=''):
|
||||
"""Returns an INVITE for nick."""
|
||||
|
Loading…
Reference in New Issue
Block a user