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:
@@ -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 == '-';
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user