summaryrefslogtreecommitdiff
path: root/modules/pseudoclients/global.cpp
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2013-07-26 21:40:16 -0400
committerAdam <Adam@anope.org>2013-07-26 21:40:16 -0400
commitfde83f6564c38635c7bfebd7edb60f30b012189c (patch)
treef4a56f82280ecb1f3ed3291b44c6afda72a0fce2 /modules/pseudoclients/global.cpp
parentf0f43cf4264c68d638cd5920877d088c6c278435 (diff)
Rethink jupe/squit thing somewhat. Workaround for the inspircd rsquit/squit mess
Diffstat (limited to 'modules/pseudoclients/global.cpp')
-rw-r--r--modules/pseudoclients/global.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/pseudoclients/global.cpp b/modules/pseudoclients/global.cpp
index 9a886c64c..1500ebb17 100644
--- a/modules/pseudoclients/global.cpp
+++ b/modules/pseudoclients/global.cpp
@@ -79,7 +79,7 @@ class GlobalCore : public Module, public GlobalService
void OnNewServer(Server *s) anope_override
{
const Anope::string &gl = Config->GetModule(this)->Get<const Anope::string>("globaloncycleup");
- if (!gl.empty() && Me && !Me->IsSynced())
+ if (!gl.empty() && !Me->IsSynced())
s->Notice(Global, gl);
}