From 82fb111759a49dc4a7f6aae422aae9423a5e78f1 Mon Sep 17 00:00:00 2001 From: brain Date: Sat, 5 Apr 2008 21:39:55 +0000 Subject: Windows fixes git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9368 e03df62e-2008-0410-955e-edbf42e46eb7 --- win/inspircd_win32wrapper.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'win/inspircd_win32wrapper.cpp') diff --git a/win/inspircd_win32wrapper.cpp b/win/inspircd_win32wrapper.cpp index c42e8bd64..468de9144 100644 --- a/win/inspircd_win32wrapper.cpp +++ b/win/inspircd_win32wrapper.cpp @@ -390,7 +390,7 @@ void IPC::Check() if (!res) { if (GetLastError() != ERROR_SEM_TIMEOUT) - Instance->Log(DEFAULT, "IPC Pipe Error %u: %s", GetLastError(), dlerror()); + Instance->Logs->Log("win32",DEFAULT, "IPC Pipe Error %u: %s", GetLastError(), dlerror()); return; } @@ -523,7 +523,7 @@ void ClearConsole() */ void ChangeWindowsSpecificPointers(InspIRCd* Instance) { - Instance->Log(DEBUG,"Changing to windows specific pointer and functor set"); + Instance->Logs->Log("win32",DEBUG,"Changing to windows specific pointer and functor set"); Instance->Config->DNSServerValidator = &ValidateWindowsDnsServer; } @@ -631,7 +631,7 @@ bool ValidateWindowsDnsServer(ServerConfig* conf, const char* tag, const char* v if (!*(data.GetString())) { std::string nameserver; - conf->GetInstance()->Log(DEFAULT,"WARNING: not defined, attempting to find working server in the registry..."); + conf->GetInstance()->Logs->Log("win32",DEFAULT,"WARNING: not defined, attempting to find working server in the registry..."); nameserver = FindNameServerWin(); /* Windows stacks multiple nameservers in one registry key, seperated by commas. * Spotted by Cataclysm. @@ -644,7 +644,7 @@ bool ValidateWindowsDnsServer(ServerConfig* conf, const char* tag, const char* v if (nameserver.find(' ') != std::string::npos) nameserver = nameserver.substr(0, nameserver.find(' ')); data.Set(nameserver.c_str()); - conf->GetInstance()->Log(DEFAULT," set to '%s' as first active resolver in registry.", nameserver.c_str()); + conf->GetInstance()->Logs->Log("win32",DEFAULT," set to '%s' as first active resolver in registry.", nameserver.c_str()); } return true; } -- cgit v1.2.3