From a2d85a098e07b4c6de1c7ea9f272eaac10fec7c1 Mon Sep 17 00:00:00 2001 From: Justin Crawford Date: Sun, 22 Apr 2012 04:27:46 -0700 Subject: Fixed using a function on every call for /motd, causing lag on large networks (requested by w00t) --- src/commands/cmd_rehash.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/commands/cmd_rehash.cpp') diff --git a/src/commands/cmd_rehash.cpp b/src/commands/cmd_rehash.cpp index 9462b4dd6..af829d726 100644 --- a/src/commands/cmd_rehash.cpp +++ b/src/commands/cmd_rehash.cpp @@ -81,6 +81,7 @@ CmdResult CommandRehash::Handle (const std::vector& parameters, Use * after the config thread has completed. */ + ServerInstance->ProcessedMotdEscapes = false; // Reprocess our motd file --Justasic ServerInstance->RehashUsersAndChans(); FOREACH_MOD(I_OnGarbageCollect, OnGarbageCollect()); -- cgit v1.2.3