mirror of
https://github.com/anope/anope.git
synced 2026-07-05 22:53:13 +02:00
Cleanup some excess whitespaces and tabs, and fix a few typos along the way.
This commit is contained in:
+4
-4
@@ -62,7 +62,7 @@ Serializable* AutoKick::Unserialize(Serializable *obj, Serialize::Data &data)
|
||||
ChannelInfo *ci = ChannelInfo::Find(sci);
|
||||
if (!ci)
|
||||
return NULL;
|
||||
|
||||
|
||||
AutoKick *ak;
|
||||
NickCore *nc = NickCore::Find(snc);
|
||||
if (obj)
|
||||
@@ -87,7 +87,7 @@ Serializable* AutoKick::Unserialize(Serializable *obj, Serialize::Data &data)
|
||||
data["reason"] >> sreason;
|
||||
data["mask"] >> smask;
|
||||
|
||||
if (nc)
|
||||
if (nc)
|
||||
ak = ci->AddAkick(screator, nc, sreason, addtime, lastused);
|
||||
else
|
||||
ak = ci->AddAkick(screator, smask, sreason, addtime, lastused);
|
||||
@@ -358,7 +358,7 @@ BotInfo *ChannelInfo::WhoSends() const
|
||||
{
|
||||
if (this && this->bi)
|
||||
return this->bi;
|
||||
|
||||
|
||||
BotInfo *ChanServ = Config->GetClient("ChanServ");
|
||||
if (ChanServ)
|
||||
return ChanServ;
|
||||
@@ -578,7 +578,7 @@ void ChannelInfo::EraseAkick(unsigned index)
|
||||
{
|
||||
if (this->akick->empty() || index >= this->akick->size())
|
||||
return;
|
||||
|
||||
|
||||
delete this->GetAkick(index);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user