summaryrefslogtreecommitdiff
path: root/src/mode.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-08-11 01:39:21 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-08-11 01:39:21 +0000
commit846fcfe452300efa283a36b7d5b900f67446f6ce (patch)
treea515aef6b253c46771b55d206baa392c1622e947 /src/mode.cpp
parent12737ab4ad61a0d8a908c8a21594c7012e21eb3c (diff)
commands.cpp:extern InspIRCd* ServerInstance;
helperfuncs.cpp: extern InspIRCd* ServerInstance; xline.cpp:extern InspIRCd* ServerInstance; The last 3 extern's in the entire program! git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4866 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/mode.cpp')
-rw-r--r--src/mode.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/mode.cpp b/src/mode.cpp
index 0d86a5c4c..064396240 100644
--- a/src/mode.cpp
+++ b/src/mode.cpp
@@ -67,8 +67,6 @@ using namespace std;
extern time_t TIME;
-extern InspIRCd* ServerInstance;
-
ModeHandler::ModeHandler(InspIRCd* Instance, char modeletter, int parameters_on, int parameters_off, bool listmode, ModeType type, bool operonly)
: ServerInstance(Instance), mode(modeletter), n_params_on(parameters_on), n_params_off(parameters_off), list(listmode), m_type(type), oper(operonly)
{