diff options
Diffstat (limited to 'src/modules/m_sqloper.cpp')
| -rw-r--r-- | src/modules/m_sqloper.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/modules/m_sqloper.cpp b/src/modules/m_sqloper.cpp index e7d992dc5..86915af7b 100644 --- a/src/modules/m_sqloper.cpp +++ b/src/modules/m_sqloper.cpp @@ -136,13 +136,12 @@ public: void init() { - OnRehash(NULL); - Implementation eventlist[] = { I_OnRehash, I_OnPreCommand }; - ServerInstance->Modules->Attach(eventlist, this, 2); + Implementation eventlist[] = { I_OnPreCommand }; + ServerInstance->Modules->Attach(eventlist, this, 1); } - void OnRehash(User* user) + void ReadConfig(ConfigReadStatus&) { ConfigTag* tag = ServerInstance->Config->ConfValue("sqloper"); |
