diff options
-rw-r--r-- | src/mode.cpp | 2 | ||||
-rw-r--r-- | src/modules/m_globalload.cpp | 6 | ||||
-rw-r--r-- | src/socket.cpp | 1 |
3 files changed, 2 insertions, 7 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) { diff --git a/src/modules/m_globalload.cpp b/src/modules/m_globalload.cpp index 8514f03dc..842b03a27 100644 --- a/src/modules/m_globalload.cpp +++ b/src/modules/m_globalload.cpp @@ -25,12 +25,10 @@ using namespace std; #include "inspircd.h" #include "helperfuncs.h" -extern InspIRCd *ServerInstance; - class cmd_gloadmodule : public command_t { public: - cmd_gloadmodule (InspIRCd* Instance) : command_t(Instance,"GLOADMODULE", 'o', 1) + cmd_gloadmodule (InspIRCd* Instance) : command_t(Instance,"GLOADMODULE", 'o', 1) { this->source = "m_globalload.so"; syntax = "<modulename>"; @@ -53,7 +51,7 @@ class cmd_gloadmodule : public command_t class cmd_gunloadmodule : public command_t { public: - cmd_gunloadmodule (InspIRCd* Instance) : command_t(Instance,"GUNLOADMODULE", 'o', 1) + cmd_gunloadmodule (InspIRCd* Instance) : command_t(Instance,"GUNLOADMODULE", 'o', 1) { this->source = "m_globalload.so"; syntax = "<modulename>"; diff --git a/src/socket.cpp b/src/socket.cpp index 4de038ef1..2e54da2ce 100644 --- a/src/socket.cpp +++ b/src/socket.cpp @@ -23,7 +23,6 @@ #include "socketengine.h" #include "wildcard.h" -extern InspIRCd* ServerInstance; extern time_t TIME; using namespace std; |