diff options
author | Sadie Powell <sadie@witchery.services> | 2021-06-22 13:59:43 +0100 |
---|---|---|
committer | Patrick <tingping@tingping.se> | 2021-06-22 09:50:22 -0500 |
commit | 199c03c8c671d86819cace9a75d7f6bca54b6589 (patch) | |
tree | 54f6919e6d11e84b3d8acf0ef6cb8e051c4e0125 | |
parent | cdcdeacd63d534e1624bedbd97c9b921cb703aa7 (diff) |
Fix parsing +beI lists on InspIRCd.
-rw-r--r-- | src/common/proto-irc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/common/proto-irc.c b/src/common/proto-irc.c index e0aa888e..501bf5a0 100644 --- a/src/common/proto-irc.c +++ b/src/common/proto-irc.c @@ -813,7 +813,7 @@ process_numeric (session * sess, int n, break; case 346: /* +I-list entry */ - if (!inbound_banlist (sess, atol (word[7]), word[4], word[5], word[6], 346, + if (!inbound_banlist (sess, atol (STRIP_COLON (word, word_eol, 7)), word[4], word[5], word[6], 346, tags_data)) goto def; break; @@ -824,7 +824,7 @@ process_numeric (session * sess, int n, break; case 348: /* +e-list entry */ - if (!inbound_banlist (sess, atol (word[7]), word[4], word[5], word[6], 348, + if (!inbound_banlist (sess, atol (STRIP_COLON (word, word_eol, 7)), word[4], word[5], word[6], 348, tags_data)) goto def; break; @@ -849,7 +849,7 @@ process_numeric (session * sess, int n, break; case 367: /* banlist entry */ - if (!inbound_banlist (sess, atol (word[7]), word[4], word[5], word[6], 367, + if (!inbound_banlist (sess, atol (STRIP_COLON (word, word_eol, 7)), word[4], word[5], word[6], 367, tags_data)) goto def; break; |