]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/commands/cmd_rehash.cpp
Fake lag on nick change, thanks pLaYa
[user/henk/code/inspircd.git] / src / commands / cmd_rehash.cpp
index 174fba8ba8a06a5c1dd34eb6a83f66132a4ffc02..83b055650f15107ad0dabb17a4375e4985ad2b68 100644 (file)
@@ -39,9 +39,9 @@ CmdResult CommandRehash::Handle (const char** parameters, int pcnt, User *user)
                        user->WriteServ("*** NOTICE %s :ERROR: Could not open logfile %s: %s", user->nick, ServerInstance->Config->logpath.c_str(), strerror(errno));
                ServerInstance->RehashUsersAndChans();
                FOREACH_MOD(I_OnGarbageCollect, OnGarbageCollect());
-               ServerInstance->Config->Read(false,user);
+               /*ServerInstance->Config->Read(false,user);*/
                // Get XLine to do it's thing.
-               ServerInstance->XLines->CheckELines(ServerInstance->XLines->lookup_lines["E"]);
+               ServerInstance->XLines->CheckELines();
                ServerInstance->XLines->ApplyLines();
                ServerInstance->Res->Rehash();
                ServerInstance->ResetMaxBans();