Skip to content
Snippets Groups Projects
Commit bf8a557b authored by Randy Sommerfeld's avatar Randy Sommerfeld
Browse files

Detect if SJOIN is empty post-processing

parent cd83457c
No related branches found
No related tags found
1 merge request!463MRC mods by Codefenix (2024-10-20)
......@@ -1004,6 +1004,20 @@ function Server_Work(cmdline) {
);
}
j = 0;
for (i in tmp.users) {
j++;
}
if (j == 0) {
umode_notice(USERMODE_OPER,"Notice",format(
"Server %s trying to SJOIN zero-member channel %s post-processing.",
this.nick,
tmp.nam
));
delete Channels[p[1].toUpperCase()];
break;
}
if (tmp.created > parseInt(p[0]))
tmp.created = parseInt(p[0]);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment