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/cs_statusupdate.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/cs_statusupdate.cpp')
-rw-r--r-- | modules/cs_statusupdate.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/cs_statusupdate.cpp b/modules/cs_statusupdate.cpp index 9874c90d6..312aaac71 100644 --- a/modules/cs_statusupdate.cpp +++ b/modules/cs_statusupdate.cpp @@ -13,8 +13,8 @@ class StatusUpdate : public Module { public: StatusUpdate(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator, VENDOR) - , EventHook<Event::AccessAdd>("OnAccessAdd") - , EventHook<Event::AccessDel>("OnAccessDel") + , EventHook<Event::AccessAdd>() + , EventHook<Event::AccessDel>() { } |