diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/utils/empty_if_fixed_server.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils/empty_if_fixed_server.hpp b/src/utils/empty_if_fixed_server.hpp index 9ccf5fd..cbb9cea 100644 --- a/src/utils/empty_if_fixed_server.hpp +++ b/src/utils/empty_if_fixed_server.hpp @@ -11,7 +11,7 @@ namespace utils { if (!Config::get("fixed_irc_server", "").empty()) return {}; - return str; + return std::move(str); } inline std::string empty_if_fixed_server(const std::string& str) |