From 846fcfe452300efa283a36b7d5b900f67446f6ce Mon Sep 17 00:00:00 2001 From: brain Date: Fri, 11 Aug 2006 01:39:21 +0000 Subject: 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 --- src/modules/m_globalload.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src/modules') 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 = ""; @@ -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 = ""; -- cgit v1.2.3