]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/server.cpp
Make m_password_hash able to pick up hasher modules after it's loaded, meaning m_md5...
[user/henk/code/inspircd.git] / src / server.cpp
index 9b6f1609eec66c10081e9ebbd7f2dcdf8979d3f0..a73abcac271e2b06c05c78798bf04b1e7e8827d2 100644 (file)
@@ -46,10 +46,10 @@ void InspIRCd::Exit(int status)
 
 void InspIRCd::Rehash()
 {
-       this->SNO->WriteToSnoMask('O', "Rehashing config file %s due to SIGHUP",ServerConfig::CleanFilename(this->ConfigFileName));
+       this->SNO->WriteToSnoMask('A', "Rehashing config file %s due to SIGHUP",ServerConfig::CleanFilename(this->ConfigFileName));
        this->CloseLog();
        if (!this->OpenLog(this->Config->argv, this->Config->argc))
-               this->SNO->WriteToSnoMask('O', "ERROR: Could not open logfile %s: %s", Config->logpath.c_str(), strerror(errno));
+               this->SNO->WriteToSnoMask('A', "ERROR: Could not open logfile %s: %s", Config->logpath.c_str(), strerror(errno));
        this->RehashUsersAndChans();
        FOREACH_MOD_I(this, I_OnGarbageCollect, OnGarbageCollect());
        /*this->Config->Read(false,NULL);*/
@@ -61,7 +61,7 @@ void InspIRCd::Rehash()
 
 void InspIRCd::RehashServer()
 {
-       this->SNO->WriteToSnoMask('O', "Rehashing config file");
+       this->SNO->WriteToSnoMask('A', "Rehashing config file");
        this->RehashUsersAndChans();
        /*this->Config->Read(false,NULL);*/
        this->ResetMaxBans();