.send_raw() should be used if we're not .send()ing a ParsedLine

This commit is contained in:
jesopo 2019-06-23 11:22:47 +01:00
parent ab4289aceb
commit 5028eb02d5

View file

@ -33,7 +33,7 @@ def handle_005(events, event):
if "NAMESX" in isupport and not event["server"].has_capability_str(
"multi-prefix"):
event["server"].send("PROTOCTL NAMESX")
event["server"].send_raw("PROTOCTL NAMESX")
if "PREFIX" in isupport:
modes, symbols = isupport["PREFIX"][1:].split(")", 1)