126
126
port != other.port);
129
static Type parseType(const std::string &type) A_WARN_UNUSED
129
static Type parseType(const std::string &serverType) A_WARN_UNUSED
131
if (compareStrI(type, "tmwathena") == 0)
131
if (compareStrI(serverType, "tmwathena") == 0)
132
132
return TMWATHENA;
133
if (compareStrI(type, "evol") == 0)
133
if (compareStrI(serverType, "evol") == 0)
135
135
#ifdef EATHENA_SUPPORT
136
else if (compareStrI(type, "eathena") == 0)
136
else if (compareStrI(serverType, "eathena") == 0)
139
else if (compareStrI(type, "eathena") == 0)
139
else if (compareStrI(serverType, "eathena") == 0)
140
140
return TMWATHENA;
142
142
#ifdef MANASERV_SUPPORT
143
else if (compareStrI(type, "manaserv") == 0)
143
else if (compareStrI(serverType, "manaserv") == 0)