From 72ceaaa426166bfa425f519c2418a66872839e12 Mon Sep 17 00:00:00 2001 From: Thorbjørn Lindeijer Date: Sat, 2 Mar 2024 17:26:44 +0100 Subject: Changed server type to "enum class" --- src/commandhandler.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/commandhandler.cpp') diff --git a/src/commandhandler.cpp b/src/commandhandler.cpp index 01975d80..addb7367 100644 --- a/src/commandhandler.cpp +++ b/src/commandhandler.cpp @@ -115,7 +115,7 @@ void CommandHandler::handleCommand(const std::string &command, ChatTab *tab) { handlePresent(args, tab); } - else if (type == "showip" && Net::getNetworkType() == ServerInfo::TMWATHENA) + else if (type == "showip" && Net::getNetworkType() == ServerType::TMWATHENA) { handleShowIp(args, tab); } -- cgit v1.2.3-70-g09d2