diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/commands.cpp | 4 | ||||
-rw-r--r-- | src/inspircd_io.cpp | 6 |
2 files changed, 4 insertions, 6 deletions
diff --git a/src/commands.cpp b/src/commands.cpp index d31099a8b..8cfc4d77b 100644 --- a/src/commands.cpp +++ b/src/commands.cpp @@ -176,7 +176,7 @@ void handle_loadmodule(char **parameters, int pcnt, userrec *user) } else { - WriteServ(user->fd,"974 %s %s :Failed to load module: %s",user->nick, parameters[0],ModuleError()); + WriteServ(user->fd,"974 %s %s :Failed to load module: %s",user->nick, parameters[0],ServerInstance->ModuleError()); } } @@ -189,7 +189,7 @@ void handle_unloadmodule(char **parameters, int pcnt, userrec *user) } else { - WriteServ(user->fd,"972 %s %s :Failed to unload module: %s",user->nick, parameters[0],ModuleError()); + WriteServ(user->fd,"972 %s %s :Failed to unload module: %s",user->nick, parameters[0],ServerInstance->ModuleError()); } } diff --git a/src/inspircd_io.cpp b/src/inspircd_io.cpp index 7033284c4..56e80c57c 100644 --- a/src/inspircd_io.cpp +++ b/src/inspircd_io.cpp @@ -306,7 +306,7 @@ void ServerConfig::Read(bool bail, userrec* user) } else { - WriteServ(user->fd,"972 %s %s :Failed to unload module %s: %s",user->nick, removing->c_str(), removing->c_str(), ModuleError()); + WriteServ(user->fd,"972 %s %s :Failed to unload module %s: %s",user->nick, removing->c_str(), removing->c_str(), ServerInstance->ModuleError()); } } if (!added_modules.empty()) @@ -320,7 +320,7 @@ void ServerConfig::Read(bool bail, userrec* user) } else { - WriteServ(user->fd,"974 %s %s :Failed to load module %s: %s",user->nick, adding->c_str(), adding->c_str(), ModuleError()); + WriteServ(user->fd,"974 %s %s :Failed to load module %s: %s",user->nick, adding->c_str(), adding->c_str(), ServerInstance->ModuleError()); } } log(DEFAULT,"Successfully unloaded %lu of %lu modules and loaded %lu of %lu modules.",(unsigned long)rem,(unsigned long)removed_modules.size(), @@ -329,8 +329,6 @@ void ServerConfig::Read(bool bail, userrec* user) } -void WriteOpers(char* text, ...); - void Exit (int status) { if (Config->log_file) |