diff options
Diffstat (limited to 'src/cmd_loadmodule.cpp')
-rw-r--r-- | src/cmd_loadmodule.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cmd_loadmodule.cpp b/src/cmd_loadmodule.cpp index 5b91746ab..ace2debf7 100644 --- a/src/cmd_loadmodule.cpp +++ b/src/cmd_loadmodule.cpp @@ -27,10 +27,10 @@ void cmd_loadmodule::Handle (const char** parameters, int pcnt, userrec *user) if (ServerInstance->LoadModule(parameters[0])) { WriteOpers("*** NEW MODULE: %s",parameters[0]); - WriteServ(user->fd,"975 %s %s :Module successfully loaded.",user->nick, parameters[0]); + user->WriteServ("975 %s %s :Module successfully loaded.",user->nick, parameters[0]); } else { - WriteServ(user->fd,"974 %s %s :Failed to load module: %s",user->nick, parameters[0],ServerInstance->ModuleError()); + user->WriteServ("974 %s %s :Failed to load module: %s",user->nick, parameters[0],ServerInstance->ModuleError()); } } |