summaryrefslogtreecommitdiff
path: root/modules/commands/bs_assign.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/bs_assign.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/bs_assign.cpp')
-rw-r--r--modules/commands/bs_assign.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/commands/bs_assign.cpp b/modules/commands/bs_assign.cpp
index 90f6f80cf..350aa9c00 100644
--- a/modules/commands/bs_assign.cpp
+++ b/modules/commands/bs_assign.cpp
@@ -227,8 +227,8 @@ class BSAssign : public Module
public:
BSAssign(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator, VENDOR)
- , EventHook<Event::Invite>("OnInvite")
- , EventHook<Event::ServiceBotEvent>("OnServiceBotEvent")
+ , EventHook<Event::Invite>()
+ , EventHook<Event::ServiceBotEvent>()
, nobot(this, botinfo, "BS_NOBOT")