summaryrefslogtreecommitdiff
path: root/include/regchannel.h
diff options
context:
space:
mode:
authorSadie Powell <sadie@witchery.services>2024-02-26 15:27:01 +0000
committerSadie Powell <sadie@witchery.services>2024-02-26 15:34:17 +0000
commitc6cb4ba159a8916243d7ac5a5c4e8d13942baf99 (patch)
tree5183b6cb982dadb2b91987ff7b69486ea8d811df /include/regchannel.h
parente341cac8d6565044f7390852afb40c5e388121df (diff)
Fix some coding style issues.
Diffstat (limited to 'include/regchannel.h')
-rw-r--r--include/regchannel.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/include/regchannel.h b/include/regchannel.h
index 9b6a64971..4276333d5 100644
--- a/include/regchannel.h
+++ b/include/regchannel.h
@@ -39,7 +39,7 @@ public:
AutoKick();
~AutoKick();
void Serialize(Serialize::Data &data) const override;
- static Serializable* Unserialize(Serializable *obj, Serialize::Data &);
+ static Serializable *Unserialize(Serializable *obj, Serialize::Data &);
};
/* It matters that Base is here before Extensible (it is inherited by Serializable)
@@ -95,10 +95,10 @@ public:
ChannelInfo(const ChannelInfo &ci);
~ChannelInfo();
- ChannelInfo& operator=(const ChannelInfo &) = default;
+ ChannelInfo &operator=(const ChannelInfo &) = default;
void Serialize(Serialize::Data &data) const override;
- static Serializable* Unserialize(Serializable *obj, Serialize::Data &);
+ static Serializable *Unserialize(Serializable *obj, Serialize::Data &);
/** Change the founder of the channel
* @params nc The new founder
@@ -169,7 +169,7 @@ public:
* @param t The time the akick was added, defaults to now
* @param lu The time the akick was last used, defaults to never
*/
- AutoKick* AddAkick(const Anope::string &user, NickCore *akicknc, const Anope::string &reason, time_t t = Anope::CurTime, time_t lu = 0);
+ AutoKick *AddAkick(const Anope::string &user, NickCore *akicknc, const Anope::string &reason, time_t t = Anope::CurTime, time_t lu = 0);
/** Add an akick entry to the channel by reason
* @param user The user who added the akick
@@ -178,13 +178,13 @@ public:
* @param t The time the akick was added, defaults to now
* @param lu The time the akick was last used, defaults to never
*/
- AutoKick* AddAkick(const Anope::string &user, const Anope::string &mask, const Anope::string &reason, time_t t = Anope::CurTime, time_t lu = 0);
+ AutoKick *AddAkick(const Anope::string &user, const Anope::string &mask, const Anope::string &reason, time_t t = Anope::CurTime, time_t lu = 0);
/** Get an entry from the channel akick list
* @param index The index in the akick vector
* @return The akick structure, or NULL if not found
*/
- AutoKick* GetAkick(unsigned index) const;
+ AutoKick *GetAkick(unsigned index) const;
/** Get the size of the akick vector for this channel
* @return The akick vector size
@@ -238,7 +238,7 @@ public:
* @param name channel name to lookup
* @return the ChannelInfo associated with the channel
*/
- static ChannelInfo* Find(const Anope::string &name);
+ static ChannelInfo *Find(const Anope::string &name);
void AddChannelReference(const Anope::string &what);
void RemoveChannelReference(const Anope::string &what);