From bf71334ee1f0b194d5ef692f1abe6bf65eab3300 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 22 Mar 2015 16:46:10 +0300 Subject: Dont use server type in server comparator. --- src/net/serverinfo.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/net/serverinfo.h') diff --git a/src/net/serverinfo.h b/src/net/serverinfo.h index a17e5b3b2..e96f7d8ea 100644 --- a/src/net/serverinfo.h +++ b/src/net/serverinfo.h @@ -116,13 +116,13 @@ class ServerInfo final bool operator==(const ServerInfo &other) const { - return (type == other.type && hostname == other.hostname && + return (name == other.name && hostname == other.hostname && port == other.port); } bool operator!=(const ServerInfo &other) const { - return (type != other.type || hostname != other.hostname || + return (name != other.name || hostname != other.hostname || port != other.port); } -- cgit v1.2.3-60-g2f50