summaryrefslogtreecommitdiff
path: root/src/bots.cpp
diff options
context:
space:
mode:
authorRobby <robby@chatbelgie.be>2017-01-17 05:03:25 +0100
committerRobby <robby@chatbelgie.be>2017-01-17 05:03:25 +0100
commit76ce8ece1a4803c98bfe9460f40bf8e0fbc409e6 (patch)
tree26e6da47f20de64ef76fe4afc459bbb7889bd417 /src/bots.cpp
parent464093d36e87f3df999145e42ed30fc0dfc55c52 (diff)
Cleanup some excess whitespaces and tabs, and fix a few typos along the way.
Diffstat (limited to 'src/bots.cpp')
-rw-r--r--src/bots.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/bots.cpp b/src/bots.cpp
index a9933e336..512de4c46 100644
--- a/src/bots.cpp
+++ b/src/bots.cpp
@@ -29,7 +29,7 @@ BotInfo::BotInfo(const Anope::string &nnick, const Anope::string &nuser, const A
(*BotListByNick)[this->nick] = this;
if (!this->uid.empty())
(*BotListByUID)[this->uid] = this;
-
+
FOREACH_MOD(OnCreateBot, (this));
// If we're synchronised with the uplink already, send the bot.
@@ -160,7 +160,7 @@ void BotInfo::Assign(User *u, ChannelInfo *ci)
if (ci->bi)
ci->bi->UnAssign(u, ci);
-
+
ci->bi = this;
this->channels->insert(ci);
@@ -275,4 +275,3 @@ BotInfo* BotInfo::Find(const Anope::string &nick, bool nick_only)
return NULL;
}
-