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

Fix unused/undeclared variables

parent 9231ac9b
......@@ -453,16 +453,16 @@ function IRCClient_set_chanmode(chan,modeline,bounce_modes) {
}
for (i in cmode.tmplist[CHANMODE_BAN][false]) { // -b
for (ban in chan.modelist[CHANMODE_BAN]) {
for (j in chan.modelist[CHANMODE_BAN]) {
if ( cmode.tmplist[CHANMODE_BAN][false][i].toUpperCase()
== chan.modelist[CHANMODE_BAN][ban].toUpperCase()
== chan.modelist[CHANMODE_BAN][j].toUpperCase()
) {
cmode.delmodes += "b";
cmode.delmodeargs += " " +
cmode.tmplist[CHANMODE_BAN][false][i];
delete chan.modelist[CHANMODE_BAN][ban];
delete chan.bantime[ban];
delete chan.bancreator[ban];
delete chan.modelist[CHANMODE_BAN][j];
delete chan.bantime[j];
delete chan.bancreator[j];
}
}
}
......
......@@ -277,7 +277,7 @@ function Server_Work(cmdline) {
this.hostname,
p[0]
));
ThisOrigin.quit(p[0]);
origin.quit(p[0]);
break;
case "INFO":
if (!p[0] || origin.server)
......@@ -1118,7 +1118,7 @@ function Server_Work(cmdline) {
if (!tmp)
break;
if (tmp == -1) {
ThisOrigin.numeric351();
origin.numeric351();
break;
}
tmp.rawout(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