diff options
| author | 2005-12-26 21:28:05 +0000 | |
|---|---|---|
| committer | 2005-12-26 21:28:05 +0000 | |
| commit | 53e521785f75f9a3f8be7f8110a8af65fcaff410 (patch) | |
| tree | 3bf77d9a15ef786e1605c6e9887f902b71f0ea3a /src/modules/extra/m_sqloper.cpp | |
| parent | Converted to 'Implements' system (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/m_sqloper.cpp')
| -rw-r--r-- | src/modules/extra/m_sqloper.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
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") |
