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 e2252f02 authored by Randy Sommerfeld's avatar Randy Sommerfeld

Fix local KILL (bug reported by phil)

parent b093e0c7
......@@ -702,7 +702,7 @@ function User_Work(cmdline) {
this.numeric481();
break;
}
if (!p[1]) {
if (!p[0]) {
this.numeric461("KILL");
break;
}
......@@ -719,9 +719,10 @@ function User_Work(cmdline) {
k = Users[tmp[i].toUpperCase()];
if (!k)
k = search_nickbuf(tmp[i]);
if (!k)
if (!k) {
this.numeric401(tmp[i]);
continue;
}
if (k.local) {
k.quit(format(
"Local kill by %s (%s)",
......
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