summaryrefslogtreecommitdiff
path: root/src/command_parse.cpp
diff options
context:
space:
mode:
authorGravatar brain2006-12-07 23:14:23 +0000
committerGravatar brain2006-12-07 23:14:23 +0000
commitf4be97d195f206433c1b0a986959e75c01da1b20 (patch)
tree4598e5ade0f4bfcacd3130ff508089d2699c60c7 /src/command_parse.cpp
parentWhoops (diff)
(1) make command reloads be announced to opers
(2) change loadmodule and unloadmodule to say WHO did it, like with /reload git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5885 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/command_parse.cpp')
-rw-r--r--src/command_parse.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/command_parse.cpp b/src/command_parse.cpp
index 8d1955e7e..52e1d7992 100644
--- a/src/command_parse.cpp
+++ b/src/command_parse.cpp
@@ -581,6 +581,7 @@ CmdResult cmd_reload::Handle(const char** parameters, int pcnt, userrec *user)
if (ServerInstance->Parser->ReloadCommand(parameters[0]))
{
user->WriteServ("NOTICE %s :*** Successfully reloaded command '%s'", user->nick, parameters[0]);
+ ServerInstance->WriteOpers("*** RELOAD: %s reloaded the '%s' command.", user->nick, parameters[0]);
return CMD_SUCCESS;
}
else