summaryrefslogtreecommitdiff
path: root/modules/botserv/assign.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/botserv/assign.cpp')
-rw-r--r--modules/botserv/assign.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/modules/botserv/assign.cpp b/modules/botserv/assign.cpp
index 1d2755ad5..96e8b0821 100644
--- a/modules/botserv/assign.cpp
+++ b/modules/botserv/assign.cpp
@@ -227,8 +227,10 @@ class BSAssign : public Module
public:
BSAssign(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator, VENDOR)
+ , EventHook<Event::Invite>(this)
+ , EventHook<Event::ServiceBotEvent>(this)
- , nobot(this, botinfo, "BS_NOBOT")
+ , nobot(this, "BS_NOBOT")
, commandbsassign(this)
, commandbsunassign(this)