summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-05-23 18:57:37 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-05-23 18:57:37 +0000
commit0a1ef900f98881a03dfa0945ff1eddfa8b1dfba5 (patch)
tree2d5c9ccbbef57a9c8d745f67fe1c350e041d3597 /src
parent7cb5def29fe62fe106acca0e4498f28efa4e42ba (diff)
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
Diffstat (limited to 'src')
-rw-r--r--src/modules/m_globops.cpp9
1 files changed, 0 insertions, 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 <nick> +g"
- }
-
};
// stuff down here is the module-factory stuff. For basic modules you can ignore this.