diff options
author | rburchell <rburchell@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-11-14 20:57:20 +0000 |
---|---|---|
committer | rburchell <rburchell@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-11-14 20:57:20 +0000 |
commit | 6c55e0a529c7f1216ff6f63a4fc77ea06a2a3a38 (patch) | |
tree | 91b0841faf23087ebe0c74dd4269d181a383f1e7 /src/bots.cpp | |
parent | 069409cd99cf78ab8bf87a1fe69a833576414fd3 (diff) |
Insane commit of doom: s/ \t/g
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1681 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/bots.cpp')
-rw-r--r-- | src/bots.cpp | 42 |
1 files changed, 21 insertions, 21 deletions
diff --git a/src/bots.cpp b/src/bots.cpp index 98c903ebe..a86f37076 100644 --- a/src/bots.cpp +++ b/src/bots.cpp @@ -34,27 +34,27 @@ BotInfo::BotInfo(const char *nnick, const char *nuser, const char *nhost, const BotInfo::~BotInfo() { - int i; - ChannelInfo *ci; - - for (i = 0; i < 256; i++) - for (ci = chanlists[i]; ci; ci = ci->next) - if (ci->bi == this) - ci->bi = NULL; - - if (this->next) - this->next->prev = this->prev; - if (this->prev) - this->prev->next = this->next; - else - botlists[tolower(*this->nick)] = this->next; - - nbots--; - - free(this->nick); - free(this->user); - free(this->host); - free(this->real); + int i; + ChannelInfo *ci; + + for (i = 0; i < 256; i++) + for (ci = chanlists[i]; ci; ci = ci->next) + if (ci->bi == this) + ci->bi = NULL; + + if (this->next) + this->next->prev = this->prev; + if (this->prev) + this->prev->next = this->next; + else + botlists[tolower(*this->nick)] = this->next; + + nbots--; + + free(this->nick); + free(this->user); + free(this->host); + free(this->real); } |