From 787c16487e8b13ba973501d88fe381d1528e68de Mon Sep 17 00:00:00 2001 From: brain Date: Fri, 2 May 2008 16:01:45 +0000 Subject: Optimize MODE #chan b etc, avoid a 256 byte memset for duplicate mode checks git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9601 e03df62e-2008-0410-955e-edbf42e46eb7 --- include/mode.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include/mode.h') diff --git a/include/mode.h b/include/mode.h index dcd8cc004..5d4ce0c8c 100644 --- a/include/mode.h +++ b/include/mode.h @@ -424,6 +424,10 @@ class CoreExport ModeParser : public classbase */ std::string LastParse; + unsigned int sent[256]; + + unsigned int seq; + public: /** The constructor initializes all the RFC basic modes by using ModeParserAddMode(). -- cgit v1.2.3