summaryrefslogtreecommitdiff
path: root/include
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 /include
parent183fd751d319f6106e5e50057155d6f156a90e02 (diff)
Fixed using a function on every call for /motd, causing lag on large networks (requested by w00t)
Diffstat (limited to 'include')
-rw-r--r--include/inspircd.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/inspircd.h b/include/inspircd.h
index abe568011..3a100f826 100644
--- a/include/inspircd.h
+++ b/include/inspircd.h
@@ -444,6 +444,10 @@ class CoreExport InspIRCd
*/
LocalStringExt OperQuit;
+ /** Holds whether the MOTD has been parsed for color codes
+ */
+ bool ProcessedMotdEscapes;
+
/** Get the current time
* Because this only calls time() once every time around the mainloop,
* it is much faster than calling time() directly.