diff options
author | danieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7> | 2009-09-13 20:31:54 +0000 |
---|---|---|
committer | danieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7> | 2009-09-13 20:31:54 +0000 |
commit | d9e3bb8d4343643504ab7ee6ab943a000065cc8a (patch) | |
tree | 24d5d857f66b843f2d08c8a39ebbf812592c0f73 /include/mode.h | |
parent | 8f9dafbfa3b62b1c88a8b1ad7988d5786f914528 (diff) |
Remove redundant ServerInstance* fields
It has been impossible to have more than one InspIRCd* object in the
same address space for some time now, and this feature was never used.
This formalizes class InspIRCd as a singleton object.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11703 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include/mode.h')
-rw-r--r-- | include/mode.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/include/mode.h b/include/mode.h index 0c367a1c2..db115a3c9 100644 --- a/include/mode.h +++ b/include/mode.h @@ -152,7 +152,6 @@ class CoreExport ModeHandler : public classbase int levelrequired; public: - static InspIRCd* ServerInstance; /** Module that created this mode. NULL for core modes */ Module* creator; @@ -425,10 +424,6 @@ typedef std::vector<ModeWatcher*>::iterator ModeWatchIter; class CoreExport ModeParser : public classbase { private: - /** - * Creator/owner pointer - */ - InspIRCd* ServerInstance; /** Mode handlers for each mode, to access a handler subtract * 65 from the ascii value of the mode letter. * The upper bit of the value indicates if its a usermode |