Fix parsing +beI lists on InspIRCd.

This commit is contained in:
Sadie Powell 2021-06-22 13:59:43 +01:00 committed by Patrick
parent cdcdeacd63
commit 199c03c8c6

View File

@ -813,7 +813,7 @@ process_numeric (session * sess, int n,
break; break;
case 346: /* +I-list entry */ 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)) tags_data))
goto def; goto def;
break; break;
@ -824,7 +824,7 @@ process_numeric (session * sess, int n,
break; break;
case 348: /* +e-list entry */ 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)) tags_data))
goto def; goto def;
break; break;
@ -849,7 +849,7 @@ process_numeric (session * sess, int n,
break; break;
case 367: /* banlist entry */ 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)) tags_data))
goto def; goto def;
break; break;