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

Use servername when detecting if a server's already there

parent ffb8da8f
...@@ -237,7 +237,7 @@ function connect_to_server(port) { ...@@ -237,7 +237,7 @@ function connect_to_server(port) {
else if (!port) else if (!port)
port = Default_Port; port = Default_Port;
if ( Servers[this.host.toLowerCase()] if ( Servers[this.servername.toLowerCase()]
|| YLines[this.ircclass].active >= YLines[this.ircclass].maxlinks || YLines[this.ircclass].active >= YLines[this.ircclass].maxlinks
) { ) {
this.next_connect = js.setTimeout( this.next_connect = js.setTimeout(
......
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