summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRobin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864>2008-09-30 22:38:19 +0000
committerRobin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864>2008-09-30 22:38:19 +0000
commit4e7636c28e7b35df80555e9817b5415885604684 (patch)
tree6040ad7b56a8e229194256c80a7e790d81898dd3 /include
parentbbaba3e0032c2ef923ffdd6ce5d42a0045c787c0 (diff)
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
Diffstat (limited to 'include')
-rw-r--r--include/bots.h4
-rw-r--r--include/extern.h1
2 files changed, 4 insertions, 1 deletions
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);