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

Warn if an SJOIN has a bad nick in it

parent fe7718f7
No related branches found
No related tags found
1 merge request!455Update branch with changes from master
......@@ -946,8 +946,14 @@ function Server_Work(cmdline) {
for (i in j) {
k = new SJOIN_Nick(j[i]);
n = Users[k.nick.toUpperCase()];
if (!n)
if (!n) {
umode_notice(USERMODE_OPER,"Notice",format(
"Server %s trying to SJOIN non-existent nick %s before processing.",
this.nick,
k.nick
));
continue;
}
if (!n.channels[tmp.nam.toUpperCase()]) {
tmp.users[n.id] = n;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment