diff options
| author | Sadie Powell <sadie@witchery.services> | 2024-02-26 15:27:01 +0000 |
|---|---|---|
| committer | Sadie Powell <sadie@witchery.services> | 2024-02-26 15:34:17 +0000 |
| commit | c6cb4ba159a8916243d7ac5a5c4e8d13942baf99 (patch) | |
| tree | 5183b6cb982dadb2b91987ff7b69486ea8d811df /modules/operserv/os_dns.cpp | |
| parent | e341cac8d6565044f7390852afb40c5e388121df (diff) | |
Fix some coding style issues.
Diffstat (limited to 'modules/operserv/os_dns.cpp')
| -rw-r--r-- | modules/operserv/os_dns.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/operserv/os_dns.cpp b/modules/operserv/os_dns.cpp index 79f4bf43e..b2fb17be2 100644 --- a/modules/operserv/os_dns.cpp +++ b/modules/operserv/os_dns.cpp @@ -45,7 +45,7 @@ struct DNSZone final data["server" + stringify(count++)] << server; } - static Serializable* Unserialize(Serializable *obj, Serialize::Data &data) + static Serializable *Unserialize(Serializable *obj, Serialize::Data &data) { DNSZone *zone; Anope::string zone_name; @@ -154,7 +154,7 @@ public: data["zone" + stringify(count++)] << zone; } - static Serializable* Unserialize(Serializable *obj, Serialize::Data &data) + static Serializable *Unserialize(Serializable *obj, Serialize::Data &data) { DNSServer *req; Anope::string server_name; @@ -856,7 +856,7 @@ public: if (req.questions.empty()) return; /* Currently we reply to any QR for A/AAAA */ - const DNS::Question& q = req.questions[0]; + const DNS::Question &q = req.questions[0]; if (q.type != DNS::QUERY_A && q.type != DNS::QUERY_AAAA && q.type != DNS::QUERY_AXFR && q.type != DNS::QUERY_ANY) return; |
