From 0a1ef900f98881a03dfa0945ff1eddfa8b1dfba5 Mon Sep 17 00:00:00 2001 From: brain Date: Mon, 23 May 2005 18:57:37 +0000 Subject: Removed m_globops setting +g automatically on oper, m_opermodes.so can do this now git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1480 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_globops.cpp | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/modules/m_globops.cpp b/src/modules/m_globops.cpp index d3714a960..112a375dd 100644 --- a/src/modules/m_globops.cpp +++ b/src/modules/m_globops.cpp @@ -80,15 +80,6 @@ class ModuleGlobops : public Module return 0; } } - - virtual void OnOper(userrec* user) - { - char* modes[2]; // only two parameters - modes[0] = user->nick; // first parameter is the nick - modes[1] = "+g"; // second parameter is the mode - Srv->SendMode(modes,2,user); // send these, forming the command "MODE +g" - } - }; // stuff down here is the module-factory stuff. For basic modules you can ignore this. -- cgit v1.2.3