]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/commands/cmd_rehash.cpp
Remove the craqy self-restarting loop in trunk, and use proper safe iterators to...
[user/henk/code/inspircd.git] / src / commands / cmd_rehash.cpp
index cf093552cb3d7039ae1bce8df2e5b71ac3c98cd0..0f60f4a6df8abf5d8e506b713916656060868220 100644 (file)
@@ -51,14 +51,12 @@ CmdResult CommandRehash::Handle (const char* const* parameters, int pcnt, User *
 
        std::string m = std::string(user->nick) + " is rehashing config file " + ServerConfig::CleanFilename(ServerInstance->ConfigFileName) + " on " + ServerInstance->Config->ServerName;
        ServerInstance->SNO->WriteToSnoMask('A', m);
-       ServerInstance->PI->SendSNONotice("A", m);
        ServerInstance->Logs->CloseLogs();
 
        if (!ServerInstance->OpenLog(ServerInstance->Config->argv, ServerInstance->Config->argc))
        {
                m = std::string("ERROR: Could not open logfile ") + ServerInstance->Config->logpath + ":" + strerror(errno);
                ServerInstance->SNO->WriteToSnoMask('A', m);
-               ServerInstance->PI->SendSNONotice("A", m);
        }
 
        ServerInstance->RehashUsersAndChans();