From 42b7f65a06e9307bf18deff2837535730b895d4a Mon Sep 17 00:00:00 2001 From: Attila Molnar Date: Thu, 25 Feb 2016 19:23:46 +0100 Subject: Remove unnecessary std::string::c_str() calls --- src/configreader.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/configreader.cpp') diff --git a/src/configreader.cpp b/src/configreader.cpp index cec4be3d3..1ac6b445a 100644 --- a/src/configreader.cpp +++ b/src/configreader.cpp @@ -703,7 +703,7 @@ void ServerConfig::ApplyModules(User* user) for (std::vector::iterator adding = added_modules.begin(); adding != added_modules.end(); adding++) { - if (ServerInstance->Modules->Load(adding->c_str())) + if (ServerInstance->Modules->Load(*adding)) { ServerInstance->SNO->WriteGlobalSno('a', "*** REHASH LOADED MODULE: %s",adding->c_str()); if (user) -- cgit v1.2.3