summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-04-23 23:33:13 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-04-23 23:33:13 +0000
commitddc514e66dacdaf475d9dddc33441498be985fa0 (patch)
treebab2bebf50264dc8386245f5c0b3266fb037223f /include
parent69fea681a2ee63bde7b59a43174b8010c193549e (diff)
Added global oper monitoring through modules and global connect monitoring through modules
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1177 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include')
-rw-r--r--include/modules.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/include/modules.h b/include/modules.h
index 57a7a1e04..78cc2553d 100644
--- a/include/modules.h
+++ b/include/modules.h
@@ -627,6 +627,20 @@ class Module : public classbase
* to do nothing.
*/
virtual int OnOperCompare(std::string password, std::string input);
+
+ /** Called whenever a user is given usermode +o, anywhere on the network.
+ * You cannot override this and prevent it from happening as it is already happened and
+ * such a task must be performed by another server. You can however bounce modes by sending
+ * servermodes out to reverse mode changes.
+ */
+ virtual void OnGlobalOper(userrec* user);
+
+ /** Called whenever a user connects, anywhere on the network.
+ * This event is informational only. You should not change any user information in this
+ * event. To do so, use the OnUserConnect method to change the state of local users.
+ */
+ virtual void OnGlobalConnect(userrec* user);
+
};