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) --- include/inspircd.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include') 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. -- cgit v1.2.3