summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;