summaryrefslogtreecommitdiff
path: root/modules/botserv
diff options
context:
space:
mode:
Diffstat (limited to 'modules/botserv')
-rw-r--r--modules/botserv/bs_badwords.cpp8
-rw-r--r--modules/botserv/bs_kick.cpp2
2 files changed, 5 insertions, 5 deletions
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;
diff --git a/modules/botserv/bs_kick.cpp b/modules/botserv/bs_kick.cpp
index fc8696410..a3e76fdab 100644
--- a/modules/botserv/bs_kick.cpp
+++ b/modules/botserv/bs_kick.cpp
@@ -175,7 +175,7 @@ public:
bool OnHelp(CommandSource &source, const Anope::string &subcommand) override = 0;
protected:
- bool CheckArguments(CommandSource &source, const std::vector<Anope::string> &params, ChannelInfo* &ci)
+ bool CheckArguments(CommandSource &source, const std::vector<Anope::string> &params, ChannelInfo *&ci)
{
const Anope::string &chan = params[0];
const Anope::string &option = params[1];