From 4e7636c28e7b35df80555e9817b5415885604684 Mon Sep 17 00:00:00 2001 From: "Robin Burchell w00t@inspircd.org" Date: Tue, 30 Sep 2008 22:38:19 +0000 Subject: Merge delbot() and cs_remove_bot() into BotInfo's destructor. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1281 5417fbe8-f217-4b02-8779-1006273d7864 --- include/bots.h | 4 ++++ include/extern.h | 1 - 2 files changed, 4 insertions(+), 1 deletion(-) (limited to 'include') diff --git a/include/bots.h b/include/bots.h index e73b325ed..e40875a18 100644 --- a/include/bots.h +++ b/include/bots.h @@ -44,6 +44,10 @@ class BotInfo */ BotInfo(const char *nick, const char *user, const char *host, const char *real); + /** Destroy a bot, clearing up appropriately. + */ + ~BotInfo(); + /** Change the nickname set on a bot. * @param newnick The nick to change to */ diff --git a/include/extern.h b/include/extern.h index f647e5f0c..07ca159da 100644 --- a/include/extern.h +++ b/include/extern.h @@ -171,7 +171,6 @@ E void save_cs_dbase(void); E void save_cs_rdb_dbase(void); E void expire_chans(void); E void cs_remove_nick(const NickCore * nc); -E void cs_remove_bot(const BotInfo * bi); E int is_real_founder(User * user, ChannelInfo * ci); -- cgit