diff options
-rw-r--r-- | src/cmd_loadmodule.cpp | 2 | ||||
-rw-r--r-- | src/cmd_unloadmodule.cpp | 2 | ||||
-rw-r--r-- | src/command_parse.cpp | 1 |
3 files changed, 3 insertions, 2 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; } diff --git a/src/cmd_unloadmodule.cpp b/src/cmd_unloadmodule.cpp index ba8e1f99d..f1612fe09 100644 --- a/src/cmd_unloadmodule.cpp +++ b/src/cmd_unloadmodule.cpp @@ -29,7 +29,7 @@ CmdResult cmd_unloadmodule::Handle (const char** parameters, int pcnt, userrec * { if (ServerInstance->UnloadModule(parameters[0])) { - ServerInstance->WriteOpers("*** MODULE UNLOADED: %s",parameters[0]); + ServerInstance->WriteOpers("*** MODULE UNLOADED: %s unloaded %s", user->nick, parameters[0]); user->WriteServ("973 %s %s :Module successfully unloaded.",user->nick, parameters[0]); } else 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 |