Skip to content
Snippets Groups Projects
Commit cd6528fc 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 986e708e b97e197a
Branches
Tags
No related merge requests found
......@@ -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