diff options
author | Adam <Adam@anope.org> | 2014-12-10 01:29:18 -0500 |
---|---|---|
committer | Adam <Adam@anope.org> | 2014-12-10 01:29:18 -0500 |
commit | 3e5a5e1c669f6027b897f7358d45f92e1552f746 (patch) | |
tree | 5be9d41890d79eb0472f374b3f2a0ab9b36b1941 /modules/extra/m_mysql.cpp | |
parent | 42238034490fb5479d787bd1695750387d508200 (diff) |
Use a triat class for event names instead of having to manually give them places, which is much less error prone
Diffstat (limited to 'modules/extra/m_mysql.cpp')
-rw-r--r-- | modules/extra/m_mysql.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/extra/m_mysql.cpp b/modules/extra/m_mysql.cpp index 2a6e5f8d8..e19813354 100644 --- a/modules/extra/m_mysql.cpp +++ b/modules/extra/m_mysql.cpp @@ -182,7 +182,7 @@ class ModuleSQL : public Module DispatcherThread *DThread; ModuleSQL(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator, EXTRA | VENDOR) - , EventHook<Event::ModuleUnload>("OnModuleUnload") + , EventHook<Event::ModuleUnload>() { me = this; |