mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-25 12:12:54 +01:00
Fixed invite, thanks lkn4it.
This commit is contained in:
parent
75246f88a8
commit
0c605c2163
@ -543,10 +543,10 @@ def whois(nick, mask='', prefix=''):
|
|||||||
assert isNick(nick), repr(nick)
|
assert isNick(nick), repr(nick)
|
||||||
return IrcMsg(prefix=prefix, command='WHOIS', args=(nick, mask))
|
return IrcMsg(prefix=prefix, command='WHOIS', args=(nick, mask))
|
||||||
|
|
||||||
def invite(channel, nick, prefix=''):
|
def invite(nick, channel, prefix=''):
|
||||||
"""Returns an INVITE for nick."""
|
"""Returns an INVITE for nick."""
|
||||||
assert isNick(nick), repr(nick)
|
assert isNick(nick), repr(nick)
|
||||||
return IrcMsg(prefix=prefix, command='INVITE', args=(channel, nick))
|
return IrcMsg(prefix=prefix, command='INVITE', args=(nick, channel))
|
||||||
|
|
||||||
def password(password, prefix=''):
|
def password(password, prefix=''):
|
||||||
"""Returns a PASS command for accessing a server."""
|
"""Returns a PASS command for accessing a server."""
|
||||||
|
Loading…
Reference in New Issue
Block a user