From c6cb4ba159a8916243d7ac5a5c4e8d13942baf99 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Mon, 26 Feb 2024 15:27:01 +0000 Subject: Fix some coding style issues. --- modules/operserv/os_dns.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'modules/operserv/os_dns.cpp') 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; -- cgit