diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-12-26 21:28:05 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-12-26 21:28:05 +0000 |
commit | 53e521785f75f9a3f8be7f8110a8af65fcaff410 (patch) | |
tree | 3bf77d9a15ef786e1605c6e9887f902b71f0ea3a /src/modules/extra | |
parent | b9e643261230d3b71517b0bc631c3b306e7246fa (diff) |
Last set converted to 'Implements'
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2667 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/extra')
-rw-r--r-- | src/modules/extra/m_sql.cpp | 5 | ||||
-rw-r--r-- | src/modules/extra/m_sqlauth.cpp | 5 | ||||
-rw-r--r-- | src/modules/extra/m_sqllog.cpp | 7 | ||||
-rw-r--r-- | src/modules/extra/m_sqloper.cpp | 5 |
4 files changed, 22 insertions, 0 deletions
diff --git a/src/modules/extra/m_sql.cpp b/src/modules/extra/m_sql.cpp index 8b9f212a0..6b31ce871 100644 --- a/src/modules/extra/m_sql.cpp +++ b/src/modules/extra/m_sql.cpp @@ -286,6 +286,11 @@ class ModuleSQL : public Module } } + void Implements(char* List) + { + List[I_OnRehash] = List[I_OnRequest] = 1; + } + char* OnRequest(Request* request) { if (request) diff --git a/src/modules/extra/m_sqlauth.cpp b/src/modules/extra/m_sqlauth.cpp index 1faf2c0d7..24cc5f5f1 100644 --- a/src/modules/extra/m_sqlauth.cpp +++ b/src/modules/extra/m_sqlauth.cpp @@ -79,6 +79,11 @@ class ModuleSQLAuth : public Module ReadConfig(); } + void Implements(char* List) + { + List[I_OnRehash] = List[I_OnUserRegister] = 1; + } + virtual void OnRehash(std::string parameter) { ReadConfig(); diff --git a/src/modules/extra/m_sqllog.cpp b/src/modules/extra/m_sqllog.cpp index badc67731..280a181b1 100644 --- a/src/modules/extra/m_sqllog.cpp +++ b/src/modules/extra/m_sqllog.cpp @@ -72,6 +72,13 @@ class ModuleSQLLog : public Module ReadConfig(); } + void Implements(char* List) + { + List[I_OnRehash] = List[I_OnOper]] = List[I_OnGlobalOper] = List[I_OnKill] = 1; + List[I_OnPreCommand] = List[I_OnUserConnect] = List[I_OnGlobalConnect] = 1; + List[I_OnUserQuit] = List[I_OnLoadModule] = 1; + } + virtual void OnRehash(std::string parameter) { ReadConfig(); diff --git a/src/modules/extra/m_sqloper.cpp b/src/modules/extra/m_sqloper.cpp index 369815f6d..0c70924d9 100644 --- a/src/modules/extra/m_sqloper.cpp +++ b/src/modules/extra/m_sqloper.cpp @@ -70,6 +70,11 @@ class ModuleSQLOper : public Module ReadConfig(); } + void Implements(char* List) + { + List[I_OnRehash] = List[I_OnPreCommand] = 1; + } + virtual int OnPreCommand(std::string command, char **parameters, int pcnt, userrec *user) { if (command == "OPER") |