summaryrefslogtreecommitdiff
path: root/src/command_parse.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/command_parse.cpp')
-rw-r--r--src/command_parse.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/command_parse.cpp b/src/command_parse.cpp
index e751db6d3..30865f414 100644
--- a/src/command_parse.cpp
+++ b/src/command_parse.cpp
@@ -464,7 +464,7 @@ bool CommandParser::FindSym(void** v, void* h, const std::string &name)
const char* err = dlerror();
if (err && !(*v))
{
- ServerInstance->Log(SPARSE, "Error loading core command %s: %s\n", name, err);
+ ServerInstance->Log(SPARSE, "Error loading core command %s: %s\n", name.c_str(), err);
return false;
}
return true;