From e0856f12218ac78fe798b9b76cc1b0fb1bafe62e Mon Sep 17 00:00:00 2001 From: brain Date: Fri, 20 Mar 2009 00:30:25 +0000 Subject: Remove an old class member here that is no longer used and has been commented out for months git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11238 e03df62e-2008-0410-955e-edbf42e46eb7 --- win/inspircd_win32wrapper.cpp | 33 --------------------------------- 1 file changed, 33 deletions(-) (limited to 'win/inspircd_win32wrapper.cpp') diff --git a/win/inspircd_win32wrapper.cpp b/win/inspircd_win32wrapper.cpp index 4d560f0f6..2aac1da05 100644 --- a/win/inspircd_win32wrapper.cpp +++ b/win/inspircd_win32wrapper.cpp @@ -307,39 +307,6 @@ int getopt_long_only(int ___argc, char *const *___argv, const char *__shortopts, return 1; } -/*void IPC::Check() -{ - if (hIPCPipe == INVALID_HANDLE_VALUE) - return; - - DWORD bytes; - DWORD action; - - BOOL res = ReadFile(hIPCPipe, &action, sizeof(DWORD), &bytes, 0); - if (!res) - { - if (GetLastError() != ERROR_SEM_TIMEOUT) - Instance->Logs->Log("win32",DEFAULT, "IPC Pipe Error %u: %s", GetLastError(), dlerror()); - return; - } - - switch (action) - { - case IPC_MESSAGE_REHASH: - Instance->Rehash("due to IPC message"); - break; - - case IPC_MESSAGE_DIE: - Instance->Exit(0); - break; - - case IPC_MESSAGE_RESTART: - Instance->Restart("IPC_MESSAGE_RESTART received by mailslot."); - break; - } -}*/ - - /* These three functions were created from looking at how ares does it * (...and they look far tidier in C++) */ -- cgit v1.2.3