1
0
mirror of https://github.com/anope/anope.git synced 2026-06-27 05:46:37 +02:00

Fix some coding style issues.

This commit is contained in:
Sadie Powell
2024-02-26 15:27:01 +00:00
parent e341cac8d6
commit c6cb4ba159
78 changed files with 195 additions and 195 deletions
+3 -3
View File
@@ -85,7 +85,7 @@ void BotInfo::Serialize(Serialize::Data &data) const
Extensible::ExtensibleSerialize(this, this, data);
}
Serializable* BotInfo::Unserialize(Serializable *obj, Serialize::Data &data)
Serializable *BotInfo::Unserialize(Serializable *obj, Serialize::Data &data)
{
Anope::string nick, user, host, realname, flags;
@@ -237,7 +237,7 @@ void BotInfo::OnMessage(User *u, const Anope::string &message, const Anope::map<
Command::Run(source, message);
}
CommandInfo& BotInfo::SetCommand(const Anope::string &cname, const Anope::string &sname, const Anope::string &permission)
CommandInfo &BotInfo::SetCommand(const Anope::string &cname, const Anope::string &sname, const Anope::string &permission)
{
CommandInfo ci;
ci.name = sname;
@@ -254,7 +254,7 @@ CommandInfo *BotInfo::GetCommand(const Anope::string &cname)
return NULL;
}
BotInfo* BotInfo::Find(const Anope::string &nick, bool nick_only)
BotInfo *BotInfo::Find(const Anope::string &nick, bool nick_only)
{
if (!nick_only && IRCD != NULL && IRCD->RequiresID)
{