summaryrefslogtreecommitdiff
path: root/modules/commands/cs_seen.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/commands/cs_seen.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/commands/cs_seen.cpp')
-rw-r--r--modules/commands/cs_seen.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/modules/commands/cs_seen.cpp b/modules/commands/cs_seen.cpp
index c730609be..0474b8e26 100644
--- a/modules/commands/cs_seen.cpp
+++ b/modules/commands/cs_seen.cpp
@@ -378,13 +378,13 @@ class CSSeen : public Module
public:
CSSeen(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator, VENDOR)
- , EventHook<Event::ExpireTick>("OnExpireTick")
- , EventHook<Event::UserConnect>("OnUserConnect")
- , EventHook<Event::UserNickChange>("OnUserNickChange")
- , EventHook<Event::UserQuit>("OnUserQuit")
- , EventHook<Event::JoinChannel>("OnJoinChannel")
- , EventHook<Event::PartChannel>("OnPartChannel")
- , EventHook<Event::PreUserKicked>("OnPreUserKicked")
+ , EventHook<Event::ExpireTick>()
+ , EventHook<Event::UserConnect>()
+ , EventHook<Event::UserNickChange>()
+ , EventHook<Event::UserQuit>()
+ , EventHook<Event::JoinChannel>()
+ , EventHook<Event::PartChannel>()
+ , EventHook<Event::PreUserKicked>()
// , seeninfo_type("SeenInfo", SeenInfo::Unserialize)
, commandseen(this)
, commandosseen(this)