summaryrefslogtreecommitdiff
path: root/src/commands/cmd_reloadmodule.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-11-04 21:10:44 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-11-04 21:10:44 +0000
commit5b58824b6c5e34327a758419392f4f0490e5c921 (patch)
treecc8b15a4c22db1b42c151339f8d64b529d4f67d3 /src/commands/cmd_reloadmodule.cpp
parentad9715ffd1025cd6650dfd2208a71e3a0df96073 (diff)
Aaaand, the rest of it
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8525 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/commands/cmd_reloadmodule.cpp')
-rw-r--r--src/commands/cmd_reloadmodule.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commands/cmd_reloadmodule.cpp b/src/commands/cmd_reloadmodule.cpp
index 8be2110ec..f43c1496b 100644
--- a/src/commands/cmd_reloadmodule.cpp
+++ b/src/commands/cmd_reloadmodule.cpp
@@ -33,6 +33,6 @@ CmdResult CommandReloadmodule::Handle (const char** parameters, int, User *user)
}
ServerInstance->WriteOpers("*** RELOAD MODULE: %s unsuccessfully reloaded %s",user->nick, parameters[0]);
- user->WriteServ("975 %s %s :Module failed to reload.",user->nick, parameters[0]);
+ user->WriteServ("975 %s %s :%s",user->nick, parameters[0], ServerInstance->Modules->LastError().c_str());
return CMD_FAILURE;
}