mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-02-18 14:40:51 +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
|
hostmaskOrChannel
|
||||||
return IrcMsg(prefix=prefix, command='WHO', args=(hostmaskOrChannel,))
|
return IrcMsg(prefix=prefix, command='WHO', args=(hostmaskOrChannel,))
|
||||||
|
|
||||||
def whois(nick, prefix=''):
|
def whois(nick, mask='', prefix=''):
|
||||||
"""Returns a WHOIS for nick."""
|
"""Returns a WHOIS for nick."""
|
||||||
assert isNick(nick), 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=''):
|
def invite(channel, nick, prefix=''):
|
||||||
"""Returns an INVITE for nick."""
|
"""Returns an INVITE for nick."""
|
||||||
|
Loading…
x
Reference in New Issue
Block a user