diff options
author | Sadie Powell <sadie@witchery.services> | 2024-02-26 15:27:01 +0000 |
---|---|---|
committer | Sadie Powell <sadie@witchery.services> | 2024-02-26 15:34:17 +0000 |
commit | c6cb4ba159a8916243d7ac5a5c4e8d13942baf99 (patch) | |
tree | 5183b6cb982dadb2b91987ff7b69486ea8d811df /include/bots.h | |
parent | e341cac8d6565044f7390852afb40c5e388121df (diff) |
Fix some coding style issues.
Diffstat (limited to 'include/bots.h')
-rw-r--r-- | include/bots.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/bots.h b/include/bots.h index 8917621d6..711e306b5 100644 --- a/include/bots.h +++ b/include/bots.h @@ -56,7 +56,7 @@ public: virtual ~BotInfo(); void Serialize(Serialize::Data &data) const; - static Serializable* Unserialize(Serializable *obj, Serialize::Data &); + static Serializable *Unserialize(Serializable *obj, Serialize::Data &); void GenerateUID(); @@ -118,7 +118,7 @@ public: * @param permission Permission required to execute the command, if any * @return The commandinfo for the newly created command */ - CommandInfo& SetCommand(const Anope::string &cname, const Anope::string &sname, const Anope::string &permission = ""); + CommandInfo &SetCommand(const Anope::string &cname, const Anope::string &sname, const Anope::string &permission = ""); /** Get command info for a command * @param cname The command name @@ -131,5 +131,5 @@ public: * @param nick_only True to only look by nick, and not by UID * @return The bot, if it exists */ - static BotInfo* Find(const Anope::string &nick, bool nick_only = false); + static BotInfo *Find(const Anope::string &nick, bool nick_only = false); }; |