From c6cb4ba159a8916243d7ac5a5c4e8d13942baf99 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Mon, 26 Feb 2024 15:27:01 +0000 Subject: Fix some coding style issues. --- modules/botserv/bs_badwords.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'modules/botserv/bs_badwords.cpp') diff --git a/modules/botserv/bs_badwords.cpp b/modules/botserv/bs_badwords.cpp index e513170e7..5dee8ed2c 100644 --- a/modules/botserv/bs_badwords.cpp +++ b/modules/botserv/bs_badwords.cpp @@ -26,7 +26,7 @@ struct BadWordImpl final data.SetType("type", Serialize::Data::DT_INT); data["type"] << this->type; } - static Serializable* Unserialize(Serializable *obj, Serialize::Data &); + static Serializable *Unserialize(Serializable *obj, Serialize::Data &); }; struct BadWordsImpl final @@ -40,7 +40,7 @@ struct BadWordsImpl final ~BadWordsImpl() override; - BadWord* AddBadWord(const Anope::string &word, BadWordType type) override + BadWord *AddBadWord(const Anope::string &word, BadWordType type) override { auto *bw = new BadWordImpl(); bw->chan = ci->name; @@ -54,7 +54,7 @@ struct BadWordsImpl final return bw; } - BadWord* GetBadWord(unsigned index) const override + BadWord *GetBadWord(unsigned index) const override { if (this->badwords->empty() || index >= this->badwords->size()) return NULL; @@ -117,7 +117,7 @@ BadWordImpl::~BadWordImpl() } } -Serializable* BadWordImpl::Unserialize(Serializable *obj, Serialize::Data &data) +Serializable *BadWordImpl::Unserialize(Serializable *obj, Serialize::Data &data) { Anope::string sci, sword; -- cgit