Commit 04cec7e1 authored by Randy Sommerfeld's avatar Randy Sommerfeld
Browse files

We don't use cmd anymore

parent e7610258
Pipeline #3006 passed with stage
in 9 minutes and 47 seconds
......@@ -303,7 +303,7 @@ function Server_Work(cmdline) {
case "INVITE":
if (!p[1] || origin.server)
break;
tmp = Channels[cmd[2].toUpperCase()];
tmp = Channels[p[2].toUpperCase()];
if (!tmp)
break;
if (!tmp.modelist[CHANMODE_OP][origin.id])
......@@ -527,7 +527,7 @@ function Server_Work(cmdline) {
} else {
this.quit(format(
"Server %s trying to introduce invalid nickname: %s",
this.nick, cmd[1]
this.nick, p[0]
))
}
break;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment