#pragma once #include #include namespace utils { inline std::string empty_if_fixed_server(std::string&& str) { if (!Config::get("fixed_irc_server", "").empty()) return {}; return str; } inline std::string empty_if_fixed_server(const std::string& str) { if (!Config::get("fixed_irc_server", "").empty()) return {}; return str; } }