diff options
Diffstat (limited to 'win')
-rw-r--r-- | win/inspircd_win32wrapper.cpp | 7 | ||||
-rw-r--r-- | win/inspircd_win32wrapper.h | 2 |
2 files changed, 4 insertions, 5 deletions
diff --git a/win/inspircd_win32wrapper.cpp b/win/inspircd_win32wrapper.cpp index cc56af69d..1646e39af 100644 --- a/win/inspircd_win32wrapper.cpp +++ b/win/inspircd_win32wrapper.cpp @@ -516,19 +516,16 @@ void ClearConsole() } /* Many inspircd classes contain function pointers/functors which can be changed to point at platform specific implementations - * of code. This function, called from WindowsForkStart, repoints these pointers and functors so that calls are windows - * specific. + * of code. This function repoints these pointers and functors so that calls are windows specific. */ void ChangeWindowsSpecificPointers(InspIRCd* Instance) { + Instance->Log(DEBUG,"Changing to windows specific pointer and functor set"); Instance->Config->DNSServerValidator = &ValidateWindowsDnsServer; } DWORD WindowsForkStart(InspIRCd* Instance) { - /* See the function declaration above */ - ChangeWindowsSpecificPointers(Instance); - /* Windows implementation of fork() :P */ if (owner_processid) return 0; diff --git a/win/inspircd_win32wrapper.h b/win/inspircd_win32wrapper.h index 0fd43fab8..ffda9ff40 100644 --- a/win/inspircd_win32wrapper.h +++ b/win/inspircd_win32wrapper.h @@ -202,6 +202,8 @@ DWORD WindowsForkStart(InspIRCd* Instance); void WindowsForkKillOwner(InspIRCd* Instance); +void ChangeWindowsSpecificPointers(InspIRCd* Instance); + bool ValidateWindowsDnsServer(ServerConfig* conf, const char* tag, const char* value, ValueItem &data); #endif |