diff options
-rw-r--r-- | src/commands/cmd_rehash.cpp | 2 | ||||
-rw-r--r-- | src/configreader.cpp | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/src/commands/cmd_rehash.cpp b/src/commands/cmd_rehash.cpp index 868a4aea2..53d19765a 100644 --- a/src/commands/cmd_rehash.cpp +++ b/src/commands/cmd_rehash.cpp @@ -50,7 +50,7 @@ CmdResult CommandRehash::Handle (const char* const* parameters, int pcnt, User * else { /* A rehash is already in progress! ahh shit. */ - user->WriteServ("*** NOTICE %s :*** Could not rehash: A rehash is already in progress.", user->nick); + user->WriteServ("NOTICE %s :*** Could not rehash: A rehash is already in progress.", user->nick); return CMD_FAILURE; } } diff --git a/src/configreader.cpp b/src/configreader.cpp index a34713279..11c74f88c 100644 --- a/src/configreader.cpp +++ b/src/configreader.cpp @@ -2193,5 +2193,8 @@ void ConfigReaderThread::Run() { /* TODO: TheUser may be invalid by the time we get here! Check its validity, or pass a UID would be better */ ServerInstance->Config->Read(do_bail, TheUser); + ServerInstance->Threads->Mutex(true); + this->SetExitFlag(); + ServerInstance->Threads->Mutex(false); } |