diff options
| author | Robin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-09-30 22:38:19 +0000 |
|---|---|---|
| committer | Robin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-09-30 22:38:19 +0000 |
| commit | 4e7636c28e7b35df80555e9817b5415885604684 (patch) | |
| tree | 6040ad7b56a8e229194256c80a7e790d81898dd3 /src/chanserv.c | |
| parent | bbaba3e0032c2ef923ffdd6ce5d42a0045c787c0 (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 'src/chanserv.c')
| -rw-r--r-- | src/chanserv.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/src/chanserv.c b/src/chanserv.c index 8e700077b..988e94021 100644 --- a/src/chanserv.c +++ b/src/chanserv.c @@ -1742,21 +1742,6 @@ void cs_remove_nick(const NickCore * nc) /*************************************************************************/ -/* Removes any reference to a bot */ - -void cs_remove_bot(const BotInfo * bi) -{ - int i; - ChannelInfo *ci; - - for (i = 0; i < 256; i++) - for (ci = chanlists[i]; ci; ci = ci->next) - if (ci->bi == bi) - ci->bi = NULL; -} - -/*************************************************************************/ - /* Return the ChannelInfo structure for the given channel, or NULL if the * channel isn't registered. */ |
