diff options
-rw-r--r-- | src/modules/m_globalload.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_globalload.cpp b/src/modules/m_globalload.cpp index aa0aab748..68d421535 100644 --- a/src/modules/m_globalload.cpp +++ b/src/modules/m_globalload.cpp @@ -103,7 +103,7 @@ class CommandGreloadmodule : public Command { if (!ServerInstance->Modules->Unload(parameters[0])) { - user->WriteServ("972 %s %s :Failed to unload module: %s",user->nick, parameters[0],ServerInstance->Modules->LastError()); + user->WriteServ("972 %s %s :%s",user->nick, parameters[0],ServerInstance->Modules->LastError().c_str()); } if (!ServerInstance->Modules->Load(parameters[0])) { |