summaryrefslogtreecommitdiff
path: root/src/commands/cmd_unloadmodule.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands/cmd_unloadmodule.cpp')
-rw-r--r--src/commands/cmd_unloadmodule.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commands/cmd_unloadmodule.cpp b/src/commands/cmd_unloadmodule.cpp
index 3c66d52e0..95098f134 100644
--- a/src/commands/cmd_unloadmodule.cpp
+++ b/src/commands/cmd_unloadmodule.cpp
@@ -30,7 +30,7 @@ CmdResult CommandUnloadmodule::Handle (const char** parameters, int, User *user)
}
else
{
- 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());
return CMD_FAILURE;
}