summaryrefslogtreecommitdiff
path: root/src/inspircd_io.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-12-14 20:43:45 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-12-14 20:43:45 +0000
commit13547ae3d3f448e92dc47bb4022c37fd742b78c8 (patch)
tree2f45fe8f6a361a1127497a64f881a6dea202346f /src/inspircd_io.cpp
parent735927abfecbf40e7b2b176afe5eff82113438ba (diff)
Moved ModuleError()
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2453 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/inspircd_io.cpp')
-rw-r--r--src/inspircd_io.cpp6
1 files changed, 2 insertions, 4 deletions
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)