summaryrefslogtreecommitdiff
path: root/modules/core/os_jupe.cpp
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2010-08-01 20:05:52 -0400
committerAdam <Adam@anope.org>2010-08-01 20:05:52 -0400
commit90976b66728fcc671f3ecc4a2d39e438d6d8bcb6 (patch)
tree3bfa64be578a52480b1c18535e46a14a72592df0 /modules/core/os_jupe.cpp
parente8d6524411e188f4de32a231857b078b57aef151 (diff)
Fixed some issues with reconnecting if we disconnect from the uplink
Diffstat (limited to 'modules/core/os_jupe.cpp')
-rw-r--r--modules/core/os_jupe.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/core/os_jupe.cpp b/modules/core/os_jupe.cpp
index a6d478708..220e88abd 100644
--- a/modules/core/os_jupe.cpp
+++ b/modules/core/os_jupe.cpp
@@ -28,7 +28,7 @@ class CommandOSJupe : public Command
if (!isValidHost(jserver, 3))
notice_lang(Config.s_OperServ, u, OPER_JUPE_HOST_ERROR);
- else if (server && (server == Me || server == Me->GetUplink()))
+ else if (server && (server == Me || server == Me->GetLinks().front()))
notice_lang(Config.s_OperServ, u, OPER_JUPE_INVALID_SERVER);
else
{