diff options
author | Sadie Powell <sadie@witchery.services> | 2024-10-25 14:50:04 +0100 |
---|---|---|
committer | Sadie Powell <sadie@witchery.services> | 2024-10-25 14:50:04 +0100 |
commit | 8ee85efd70016e0e6102f3305be02c08e33ac71d (patch) | |
tree | c224f6b14eea651d7110dc994a77800db0ce77c1 | |
parent | 0cab675825e3dc1a206f55b5bd20192814b15a93 (diff) |
Fix parsing mode changes from users on UnrealIRCd.
-rw-r--r-- | modules/protocol/unrealircd.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/protocol/unrealircd.cpp b/modules/protocol/unrealircd.cpp index 8902396fd..ebab51d3c 100644 --- a/modules/protocol/unrealircd.cpp +++ b/modules/protocol/unrealircd.cpp @@ -1163,7 +1163,7 @@ struct IRCDMessageMode final auto ts = final_is_ts ? IRCD->ExtractTimestamp(params.back()) : 0; if (c) - c->SetModesInternal(source, params[2], { params.begin() + 3, last_param }, ts); + c->SetModesInternal(source, params[1], { params.begin() + 2, last_param }, ts); } else { |