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

Make functions that don't use this static.

This commit is contained in:
Sadie Powell
2024-02-27 10:40:23 +00:00
parent 73d4ac6de0
commit b5b3c74477
35 changed files with 61 additions and 61 deletions
+1 -1
View File
@@ -67,7 +67,7 @@ struct HostRequest final
class CommandHSRequest final
: public Command
{
bool isvalidchar(char c)
static bool isvalidchar(char c)
{
return (c >= 'A' && c <= 'Z') || (c >= 'a' && c <= 'z') || (c >= '0' && c <= '9') || c == '.' || c == '-';
}
+1 -1
View File
@@ -108,7 +108,7 @@ public:
class CommandHSSetAll final
: public Command
{
void Sync(const NickAlias *na)
static void Sync(const NickAlias *na)
{
if (!na || !na->HasVhost())
return;