diff options
author | Sadie Powell <sadie@witchery.services> | 2024-02-27 10:40:23 +0000 |
---|---|---|
committer | Sadie Powell <sadie@witchery.services> | 2024-02-27 10:48:55 +0000 |
commit | b5b3c744778ed0cbceb03f2f8dbbec33d2fd0e94 (patch) | |
tree | e6d8a7c143a11035be55ffffcdc97395eb5b4e25 /modules/operserv/os_dns.cpp | |
parent | 73d4ac6de04a1035ac36182d3f269cc938c6bc19 (diff) |
Make functions that don't use `this` static.
Diffstat (limited to 'modules/operserv/os_dns.cpp')
-rw-r--r-- | modules/operserv/os_dns.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/operserv/os_dns.cpp b/modules/operserv/os_dns.cpp index b2fb17be2..99d01e7b7 100644 --- a/modules/operserv/os_dns.cpp +++ b/modules/operserv/os_dns.cpp @@ -209,7 +209,7 @@ public: class CommandOSDNS final : public Command { - void DisplayPoolState(CommandSource &source) + static void DisplayPoolState(CommandSource &source) { if (dns_servers->empty()) { @@ -564,7 +564,7 @@ class CommandOSDNS final source.Reply(_("IP %s does not exist for %s."), params[2].c_str(), s->GetName().c_str()); } - void OnSet(CommandSource &source, const std::vector<Anope::string> ¶ms) + static void OnSet(CommandSource &source, const std::vector<Anope::string> ¶ms) { DNSServer *s = DNSServer::Find(params[1]); |