summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/modules/dns.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/modules/dns.h b/include/modules/dns.h
index 4da31b805..cfa048184 100644
--- a/include/modules/dns.h
+++ b/include/modules/dns.h
@@ -92,6 +92,7 @@ namespace DNS
Question() : type(QUERY_NONE) { }
Question(const std::string& n, QueryType t) : name(n), type(t) { }
bool operator==(const Question& other) const { return ((name == other.name) && (type == other.type)); }
+ bool operator!=(const Question& other) const { return (!(*this == other)); }
struct hash
{