Skip to content
Snippets Groups Projects
Commit 8a2d92e2 authored by Nigel Reed's avatar Nigel Reed Committed by Rob Swindell
Browse files

Synchronet IRC services uses RAKILL to remove any previouslly

parent 476f5e8a
No related branches found
No related tags found
2 merge requests!463MRC mods by Codefenix (2024-10-20),!296Synchronet IRC services uses RAKILL to remove any previouslly
......@@ -807,6 +807,30 @@ function Server_Work(cmdline) {
p[0] = origin.nick;
origin.quit(p[0]);
break;
case "RAKILL":
if (!p[1])
break;
if (!origin.uline) {
umode_notice(USERMODE_OPER,"Notice",format(
"Non-U:Lined server %s trying to utilize RAKILL.",
origin.nick
));
break;
}
this.bcast_to_servers_raw(format(
":%s RAKILL %s %s",
origin.nick,
p[0],
p[1]
));
k = p[1] + "@" + p[0];
if (!isklined(k))
break;
remove_kline(k);
break;
case "SERVER":
if (!p[2])
break;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment