From 5a29db4347aa1cbd3b7ab0991f3d198649c9f5d4 Mon Sep 17 00:00:00 2001
From: cyan <>
Date: Tue, 31 May 2005 05:04:10 +0000
Subject: [PATCH] * Fix an oversight in the last commit.

---
 exec/load/ircd_server.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/exec/load/ircd_server.js b/exec/load/ircd_server.js
index 77647ee458..d21d1b7bf2 100644
--- a/exec/load/ircd_server.js
+++ b/exec/load/ircd_server.js
@@ -654,7 +654,7 @@ function Server_Work() {
 				var newsrv = this;
 			} else if (hops > 1) {
 				if (this.hub) {
-					if (searchbyserver(lcserver)) {
+					if (searchbyserver(cmd[1])) {
 						this.quit("Server " + cmd[1] + " already exists.");
 						return 0;
 					}
-- 
GitLab