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

Improve empty channel detection a bit and add some more debugging

parent 7143dc5c
No related branches found
No related tags found
1 merge request!463MRC mods by Codefenix (2024-10-20)
...@@ -1008,13 +1008,18 @@ function Server_Work(cmdline) { ...@@ -1008,13 +1008,18 @@ function Server_Work(cmdline) {
); );
} }
if (valid_nicks == "") { if (!true_array_len(tmp.users)) {
umode_notice(USERMODE_OPER,"Notice",format( umode_notice(USERMODE_OPER,"Notice",format(
"Server %s trying to SJOIN zero-member channel %s post-processing.", "Server %s trying to SJOIN zero-member channel %s post-processing.",
this.nick, this.nick,
tmp.nam tmp.nam
)); ));
delete Channels[p[1].toUpperCase()]; delete Channels[p[1].toUpperCase()];
umode_notice(USERMODE_OPER,"Debug",format(
"typeof %s is %s",
p[1],
typeof Channels[p[1].toUpperCase()]
));
break; break;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment