From c38b6392c5956628f51faaa6085367dd32199e61 Mon Sep 17 00:00:00 2001 From: Adam Date: Fri, 25 Feb 2011 21:41:08 -0500 Subject: More fixes. Also made db_mysql_live not keep bots updated because thats pointless and made m_asynch_commands respect user language settings. --- include/bots.h | 2 -- include/commands.h | 4 ++-- 2 files changed, 2 insertions(+), 4 deletions(-) (limited to 'include') diff --git a/include/bots.h b/include/bots.h index 2ae6fdbc0..4253802ff 100644 --- a/include/bots.h +++ b/include/bots.h @@ -51,8 +51,6 @@ class CoreExport BotInfo : public User, public Flags */ virtual ~BotInfo(); - void SetIdent(const Anope::string &sident); - /** Change the nickname for the bot. * @param newnick The nick to change to */ diff --git a/include/commands.h b/include/commands.h index 8320c531a..89735211c 100644 --- a/include/commands.h +++ b/include/commands.h @@ -30,8 +30,8 @@ enum CommandReturn extern CoreExport Command *FindCommand(BotInfo *bi, const Anope::string &cmd); extern CoreExport void mod_help_cmd(BotInfo *bi, User *u, ChannelInfo *ci, const Anope::string &cmd); -extern CoreExport void mod_run_cmd(BotInfo *bi, User *u, const Anope::string &message, ChannelInfo *ci); -extern CoreExport void mod_run_cmd(BotInfo *bi, User *u, Command *c, const Anope::string &command, const Anope::string &message, ChannelInfo *ci); +extern CoreExport void mod_run_cmd(BotInfo *bi, User *u, ChannelInfo *ci, const Anope::string &message); +extern CoreExport void mod_run_cmd(BotInfo *bi, User *u, ChannelInfo *ci, Command *c, const Anope::string &command, const Anope::string &message); enum CommandFlag { -- cgit