From 13547ae3d3f448e92dc47bb4022c37fd742b78c8 Mon Sep 17 00:00:00 2001 From: brain Date: Wed, 14 Dec 2005 20:43:45 +0000 Subject: Moved ModuleError() git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2453 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/inspircd_io.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src/inspircd_io.cpp') 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) -- cgit v1.2.3