Skip to content
Snippets Groups Projects
Commit 3296d4e2 authored by Nigel Reed's avatar Nigel Reed
Browse files

Synchronet IRC services uses RAKILL to remove any previouslly

added AKILL. This would mean the K:Line would live forever on
the local irc server even if the AKILL is removed.
If server admins don't wish to update, it's highly recommended
they take the RAKILL from exec/load/ircd/server.js and add it
manually.
parent 476f5e8a
No related branches found
No related tags found
1 merge request!296Synchronet IRC services uses RAKILL to remove any previouslly
Pipeline #4538 passed
...@@ -807,6 +807,30 @@ function Server_Work(cmdline) { ...@@ -807,6 +807,30 @@ function Server_Work(cmdline) {
p[0] = origin.nick; p[0] = origin.nick;
origin.quit(p[0]); origin.quit(p[0]);
break; 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": case "SERVER":
if (!p[2]) if (!p[2])
break; break;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment