summaryrefslogtreecommitdiff
path: root/win
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2009-03-20 00:30:25 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2009-03-20 00:30:25 +0000
commite0856f12218ac78fe798b9b76cc1b0fb1bafe62e (patch)
treeeee88c17b6312caa01975ca43573fb2a5dc2ec73 /win
parentc70c31c7b78a8c0d4a097b0f87e506b6a5fa2b2c (diff)
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
Diffstat (limited to 'win')
-rw-r--r--win/inspircd_win32wrapper.cpp33
1 files changed, 0 insertions, 33 deletions
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++)
*/