summaryrefslogtreecommitdiff
path: root/modules/protocol/unreal.cpp
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2014-12-10 01:29:18 -0500
committerAdam <Adam@anope.org>2014-12-10 01:29:18 -0500
commit3e5a5e1c669f6027b897f7358d45f92e1552f746 (patch)
tree5be9d41890d79eb0472f374b3f2a0ab9b36b1941 /modules/protocol/unreal.cpp
parent42238034490fb5479d787bd1695750387d508200 (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/protocol/unreal.cpp')
-rw-r--r--modules/protocol/unreal.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/modules/protocol/unreal.cpp b/modules/protocol/unreal.cpp
index 918bf09f6..dc85c6f89 100644
--- a/modules/protocol/unreal.cpp
+++ b/modules/protocol/unreal.cpp
@@ -1249,11 +1249,11 @@ class ProtoUnreal : public Module
public:
ProtoUnreal(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator, PROTOCOL | VENDOR)
- , EventHook<Event::UserNickChange>("OnUserNickChange", EventHook<Event::UserNickChange>::Priority::FIRST)
- , EventHook<Event::ChannelSync>("OnChannelSync", EventHook<Event::ChannelSync>::Priority::FIRST)
- , EventHook<Event::ChanRegistered>("OnChanRegistered", EventHook<Event::ChanRegistered>::Priority::FIRST)
- , EventHook<Event::DelChan>("OnDelChan", EventHook<Event::DelChan>::Priority::FIRST)
- , EventHook<Event::MLockEvents>("MLock", EventHook<Event::MLockEvents>::Priority::FIRST)
+ , EventHook<Event::UserNickChange>(EventHook<Event::UserNickChange>::Priority::FIRST)
+ , EventHook<Event::ChannelSync>(EventHook<Event::ChannelSync>::Priority::FIRST)
+ , EventHook<Event::ChanRegistered>(EventHook<Event::ChanRegistered>::Priority::FIRST)
+ , EventHook<Event::DelChan>(EventHook<Event::DelChan>::Priority::FIRST)
+ , EventHook<Event::MLockEvents>(EventHook<Event::MLockEvents>::Priority::FIRST)
, ircd_proto(this)
, message_away(this)
, message_error(this)