summaryrefslogtreecommitdiff
path: root/src/commands/cmd_rehash.cpp
diff options
context:
space:
mode:
authorJustin Crawford <Justasic@Gmail.com>2012-04-22 04:27:46 -0700
committerJustin Crawford <Justasic@Gmail.com>2012-04-22 23:59:53 -0700
commita2d85a098e07b4c6de1c7ea9f272eaac10fec7c1 (patch)
treefea2bfedd617bf6cd036945864b5b3bacf720721 /src/commands/cmd_rehash.cpp
parent183fd751d319f6106e5e50057155d6f156a90e02 (diff)
Fixed using a function on every call for /motd, causing lag on large networks (requested by w00t)
Diffstat (limited to 'src/commands/cmd_rehash.cpp')
-rw-r--r--src/commands/cmd_rehash.cpp1
1 files changed, 1 insertions, 0 deletions
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<std::string>& parameters, Use
* after the config thread has completed.
*/
+ ServerInstance->ProcessedMotdEscapes = false; // Reprocess our motd file --Justasic
ServerInstance->RehashUsersAndChans();
FOREACH_MOD(I_OnGarbageCollect, OnGarbageCollect());