aboutsummaryrefslogtreecommitdiff
path: root/src/utils/irc/protocol.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils/irc/protocol.py')
-rw-r--r--src/utils/irc/protocol.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils/irc/protocol.py b/src/utils/irc/protocol.py
index 66b4028c..ab2f7b5e 100644
--- a/src/utils/irc/protocol.py
+++ b/src/utils/irc/protocol.py
@@ -61,7 +61,7 @@ def names(channel_name: str) -> IRCLine.ParsedLine:
return IRCLine.ParsedLine("NAMES", [channel_name])
def list(search_for: str=None) -> IRCLine.ParsedLine:
return IRCLine.ParsedLine("LIST", [search_for] if search_for else [])
-def invite(target: str, channel_name: str) -> IRCLine.ParsedLine:
+def invite(channel_name: str, target: str) -> IRCLine.ParsedLine:
return IRCLine.ParsedLine("INVITE", [target, channel_name])
def whois(target: str) -> IRCLine.ParsedLine: