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
No related branches found
No related tags found
No related merge requests found
...@@ -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