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 0ccf684f..66b4028c 100644
--- a/src/utils/irc/protocol.py
+++ b/src/utils/irc/protocol.py
@@ -33,7 +33,7 @@ def part(channel_name: str, reason: str=None) -> IRCLine.ParsedLine:
def quit(reason: str=None) -> IRCLine.ParsedLine:
return IRCLine.ParsedLine("QUIT", [reason] if reason else [])
-def message(target: str, message: str, tags: typing.Dict[str, str]={}
+def privmsg(target: str, message: str, tags: typing.Dict[str, str]={}
) -> IRCLine.ParsedLine:
return IRCLine.ParsedLine("PRIVMSG", [target, message], tags=tags)
def notice(target: str, message: str, tags: typing.Dict[str, str]={}