diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-07-27 17:40:37 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-07-27 17:40:37 +0000 |
commit | dffae50cae231f51b551304cb8df033e52d65fc4 (patch) | |
tree | c5817f1842115a213ef5a7e6703dcc3f4e4d79aa /win | |
parent | f40811fd6e82d62010b395d2897b46e58dfebf6c (diff) |
And more to fix
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7593 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'win')
-rw-r--r-- | win/inspircd_win32wrapper.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/win/inspircd_win32wrapper.cpp b/win/inspircd_win32wrapper.cpp index 0e7f0172e..cc56af69d 100644 --- a/win/inspircd_win32wrapper.cpp +++ b/win/inspircd_win32wrapper.cpp @@ -366,7 +366,7 @@ int getopt_long_only(int ___argc, char *const *___argv, const char *__shortopts, #define IPC_MESSAGE_DIE 2 #define IPC_MESSAGE_RESTART 3 -void IPC::IPC(InspIRCd* Srv) : Instance(Srv) +IPC::IPC(InspIRCd* Srv) : Instance(Srv) { static DWORD buflen = 1024; static const char * pipename = "\\\\.\\mailslot\\Inspircd"; @@ -394,7 +394,7 @@ void IPC::Check() switch (action) { case IPC_MESSAGE_REHASH: - Instance->Rehash(0); + Instance->Rehash(); break; case IPC_MESSAGE_DIE: @@ -407,7 +407,7 @@ void IPC::Check() } } -void IPC::~IPC() +IPC::~IPC() { CloseHandle(hIPCPipe); } |