summaryrefslogtreecommitdiff
path: root/modules/botserv/set.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/botserv/set.cpp')
-rw-r--r--modules/botserv/set.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/botserv/set.cpp b/modules/botserv/set.cpp
index b480108af..ee8426e65 100644
--- a/modules/botserv/set.cpp
+++ b/modules/botserv/set.cpp
@@ -40,7 +40,7 @@ class CommandBSSet : public Command
const CommandInfo &info = it->second;
if (c_name.find_ci(this_name + " ") == 0)
{
- ServiceReference<Command> command("Command", info.name);
+ ServiceReference<Command> command(info.name);
if (command)
{
// XXX dup
@@ -203,6 +203,7 @@ class BSSet : public Module
public:
BSSet(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator, VENDOR)
+ , EventHook<Event::BotBan>(this)
, commandbsset(this)
, commandbssetbanexpire(this)
, commandbssetprivate(this)