summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/configreader.cpp11
1 files changed, 7 insertions, 4 deletions
diff --git a/src/configreader.cpp b/src/configreader.cpp
index 42a3cd4de..aaff93ef9 100644
--- a/src/configreader.cpp
+++ b/src/configreader.cpp
@@ -1307,10 +1307,13 @@ void ServerConfig::Read(bool bail, User* user)
ServerInstance->Parser->SetupCommandTable(user);
ServerInstance->Threads->Mutex(false);
- if (user)
- user->WriteServ("NOTICE %s :*** Successfully rehashed server.", user->nick.c_str());
- else
- ServerInstance->SNO->WriteToSnoMask('A', "*** Successfully rehashed server.");
+ if (!bail)
+ {
+ if (user)
+ user->WriteServ("NOTICE %s :*** Successfully rehashed server.", user->nick.c_str());
+ else
+ ServerInstance->SNO->WriteToSnoMask('A', "*** Successfully rehashed server.");
+ }
}