summaryrefslogtreecommitdiff
path: root/modules/botserv/bot.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/botserv/bot.cpp')
-rw-r--r--modules/botserv/bot.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/botserv/bot.cpp b/modules/botserv/bot.cpp
index 2e33b7ccb..30550df56 100644
--- a/modules/botserv/bot.cpp
+++ b/modules/botserv/bot.cpp
@@ -216,6 +216,7 @@ class CommandBSBot : public Command
return;
}
+#warning "xline on the stack"
/* The new nick is really different, so we remove the Q line for the old nick. */
//XLine x_del(bi->nick);
//IRCD->SendSQLineDel(&x_del);
@@ -373,7 +374,9 @@ class CommandBSBot : public Command
this->DoDel(source, params);
}
else
+ {
this->OnSyntaxError(source, "");
+ }
}
bool OnHelp(CommandSource &source, const Anope::string &subcommand) override