diff options
author | Robby <robby@chatbelgie.be> | 2017-01-17 05:03:25 +0100 |
---|---|---|
committer | Robby <robby@chatbelgie.be> | 2017-01-17 05:03:25 +0100 |
commit | 76ce8ece1a4803c98bfe9460f40bf8e0fbc409e6 (patch) | |
tree | 26e6da47f20de64ef76fe4afc459bbb7889bd417 /modules/commands/bs_badwords.cpp | |
parent | 464093d36e87f3df999145e42ed30fc0dfc55c52 (diff) |
Cleanup some excess whitespaces and tabs, and fix a few typos along the way.
Diffstat (limited to 'modules/commands/bs_badwords.cpp')
-rw-r--r-- | modules/commands/bs_badwords.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/commands/bs_badwords.cpp b/modules/commands/bs_badwords.cpp index 31f295832..785c31cdd 100644 --- a/modules/commands/bs_badwords.cpp +++ b/modules/commands/bs_badwords.cpp @@ -70,7 +70,7 @@ struct BadWordsImpl : BadWords { if (this->badwords->empty() || index >= this->badwords->size()) return; - + FOREACH_MOD(OnBadWordDel, (ci, (*this->badwords)[index])); delete this->badwords->at(index); @@ -127,7 +127,7 @@ Serializable* BadWordImpl::Unserialize(Serializable *obj, Serialize::Data &data) unsigned int n; data["type"] >> n; - + BadWordImpl *bw; if (obj) bw = anope_dynamic_static_cast<BadWordImpl *>(obj); @@ -140,7 +140,7 @@ Serializable* BadWordImpl::Unserialize(Serializable *obj, Serialize::Data &data) BadWordsImpl *bws = ci->Require<BadWordsImpl>("badwords"); if (!obj) bws->badwords->push_back(bw); - + return bw; } |