1
0
mirror of https://github.com/anope/anope.git synced 2026-07-03 08:33:12 +02:00

Made OperServ and Global optional

This commit is contained in:
Adam
2010-10-02 03:08:29 -04:00
parent a62d824cb4
commit 0a8bb88085
11 changed files with 106 additions and 60 deletions
+1 -1
View File
@@ -342,7 +342,7 @@ void do_server(const Anope::string &source, const Anope::string &servername, uns
Server *newserver = new Server(s, servername, hops, descript, numeric);
/* Announce services being online. */
if (Config->GlobalOnCycle && !Config->GlobalOnCycleUP.empty())
if (Config->GlobalOnCycle && !Config->GlobalOnCycleUP.empty() && !Config->s_GlobalNoticer.empty())
notice_server(Config->s_GlobalNoticer, newserver, "%s", Config->GlobalOnCycleUP.c_str());
/* Let modules know about the connection */