diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-05-02 16:01:45 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-05-02 16:01:45 +0000 |
commit | 787c16487e8b13ba973501d88fe381d1528e68de (patch) | |
tree | 6ca4d9b75713c1856ea9abf31424fc6bc05c6b22 /include | |
parent | 0376f1d8be09a242befe207be4fa9e809d098557 (diff) |
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
Diffstat (limited to 'include')
-rw-r--r-- | include/mode.h | 4 |
1 files changed, 4 insertions, 0 deletions
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(). |