1
0
mirror of https://github.com/anope/anope.git synced 2026-07-02 18:13:12 +02:00

Inline, constify, and document GetProtocolName.

This commit is contained in:
Sadie Powell
2024-02-21 15:39:40 +00:00
parent 85687781d1
commit 8475697e3b
2 changed files with 3 additions and 6 deletions
-5
View File
@@ -35,11 +35,6 @@ IRCDProto::~IRCDProto()
IRCD = NULL;
}
const Anope::string &IRCDProto::GetProtocolName()
{
return this->proto_name;
}
static inline char nextID(int pos, Anope::string &buf)
{
char &c = buf[pos];