Synchronet now requires the libarchive development package (e.g. libarchive-dev on Debian-based Linux distros, libarchive.org for more info) to build successfully.

Commit 1dab9e23 authored by Randy Sommerfeld's avatar Randy Sommerfeld

Reject malformed NICK messages from servers and notify

parent 0053413e
......@@ -602,6 +602,15 @@ function Server_Work(cmdline) {
));
break;
} else { /* A user changing their nick */
if (origin.server) {
gnotice(format(
"Server %s (origin %s) sent malformed NICK message: %s",
this.nick,
origin.nick,
p.join(" ")
));
break;
}
tmp = Users[p[0].toUpperCase()];
if (tmp && tmp.nick.toUpperCase() != origin.nick.toUpperCase()) {
gnotice(format(
......
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