diff options
Diffstat (limited to 'src/net/serverinfo.h')
-rw-r--r-- | src/net/serverinfo.h | 4 |
1 files changed, 2 insertions, 2 deletions
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); } |