diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-12-07 23:14:23 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-12-07 23:14:23 +0000 |
commit | f4be97d195f206433c1b0a986959e75c01da1b20 (patch) | |
tree | 4598e5ade0f4bfcacd3130ff508089d2699c60c7 /src/cmd_loadmodule.cpp | |
parent | 2a80ef7eaf25535c7688d7859bbe5451508dc194 (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/cmd_loadmodule.cpp')
-rw-r--r-- | src/cmd_loadmodule.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd_loadmodule.cpp b/src/cmd_loadmodule.cpp index 46c191f69..8c2c424fc 100644 --- a/src/cmd_loadmodule.cpp +++ b/src/cmd_loadmodule.cpp @@ -29,7 +29,7 @@ CmdResult cmd_loadmodule::Handle (const char** parameters, int pcnt, userrec *us { if (ServerInstance->LoadModule(parameters[0])) { - ServerInstance->WriteOpers("*** NEW MODULE: %s",parameters[0]); + ServerInstance->WriteOpers("*** NEW MODULE: %s loaded %s",user->nick, parameters[0]); user->WriteServ("975 %s %s :Module successfully loaded.",user->nick, parameters[0]); return CMD_SUCCESS; } |