Synchronet now requires the libarchive development package (e.g. libarchive-dev on Debian-based Linux distros, 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) {
else if (!port)
port = Default_Port;
if ( Servers[]
if ( Servers[this.servername.toLowerCase()]
|| YLines[this.ircclass].active >= YLines[this.ircclass].maxlinks
) {
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