Skip to content
Snippets Groups Projects
Commit 395d4a1e authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

Merge branch 'add_rakill_to_ircd' into 'master'

Synchronet IRC services uses RAKILL to remove any previouslly

See merge request !296
parents 476f5e8a 8a2d92e2
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) { ...@@ -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