From b8b4e4c524331b4deb0a6caa8da004430297c98a Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 14 Aug 2017 16:40:47 +0300 Subject: Replace static members usage from pointers to direct classes. clang-tidy warning: readability-static-accessed-through-instance --- src/configmanager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/configmanager.cpp') diff --git a/src/configmanager.cpp b/src/configmanager.cpp index 118a4e76a..804d597ce 100644 --- a/src/configmanager.cpp +++ b/src/configmanager.cpp @@ -88,7 +88,7 @@ void ConfigManager::initServerConfig(const std::string &serverName) configPath.c_str()); } - const bool val = client->isTmw(); + const bool val = Client::isTmw(); setDefaultOption("enableManaMarketBot", val); setDefaultOption("enableRemoteCommands", !val); } -- cgit v1.2.3-70-g09d2