[READ-ONLY] Mirror of https://github.com/VibeDevelopers/atheme. Modified fork of atheme IRC Services www.vibetalk.net/
0

Configure Feed

Select the types of activity you want to include in your feed.

protocol/inspircd: Add cbans using ADDLINE not CBAN.

This command is intended for use by clients not by servers.

Sadie Powell (Jan 17, 2025, 8:05 PM UTC) 7af66277 11aa21b1

+2 -2
+2 -2
modules/protocol/inspircd.c
··· 520 520 } 521 521 522 522 if (has_cbanmod) 523 - sts(":%s CBAN %s %ld :%s", svs != NULL ? svs->me->uid : ME, name, duration, reason); 523 + sts(":%s ADDLINE CBAN %s %s %lu %ld :%s", me.numeric, name, svs != NULL ? svs->nick : me.name, (unsigned long)CURRTIME, duration, reason); 524 524 else 525 525 slog(LG_INFO, "SQLINE: Could not set SQLINE on \2%s\2 due to m_cban not being loaded in inspircd.", name); 526 526 } ··· 535 535 } 536 536 537 537 if (has_cbanmod) 538 - sts(":%s CBAN %s", ME, name); 538 + sts(":%s DELLINE CBAN %s", ME, name); 539 539 else 540 540 slog(LG_INFO, "SQLINE: Could not remove SQLINE on \2%s\2 due to m_cban not being loaded in inspircd.", name); 541 541 }