diff options
| author | 2019-09-12 11:24:25 +0100 | |
|---|---|---|
| committer | 2019-09-12 11:24:25 +0100 | |
| commit | 9d33354d1690e43933f919f5f7432fd593004317 (patch) | |
| tree | 70e11cf963a0728e67fa66df163749abb5670ee2 /src/utils/irc | |
| parent | Revert "INVITE should be [channel_name, target]" (diff) | |
| signature | ||
translate INVITE from [channel_name, target] to [target, channel_name]
Diffstat (limited to 'src/utils/irc')
| -rw-r--r-- | src/utils/irc/protocol.py | 2 |
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: |
