diff options
| author | 2010-03-06 00:19:13 +0000 | |
|---|---|---|
| committer | 2010-03-06 00:19:13 +0000 | |
| commit | dac63e16ccd698b5c667380cc5c25afd1c6cb68e (patch) | |
| tree | 86aadd52b0a1555fd12a2767be2a8c64f7994a20 /src/modules/m_sqloper.cpp | |
| parent | Set m_cgiirc to run its OnUserConnect before m_conn_umodes (diff) | |
Search for SQL service in init(), not in constructor
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12598 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_sqloper.cpp')
| -rw-r--r-- | src/modules/m_sqloper.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/modules/m_sqloper.cpp b/src/modules/m_sqloper.cpp index 871ef7d46..cca391cf5 100644 --- a/src/modules/m_sqloper.cpp +++ b/src/modules/m_sqloper.cpp @@ -32,6 +32,10 @@ class ModuleSQLOper : public Module public: ModuleSQLOper() : saved_user("sqloper_user", this), saved_pass("sqloper_pass", this) { + } + + void init() + { OnRehash(NULL); SQLutils = ServerInstance->Modules->Find("m_sqlutils.so"); |
