X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=win%2Finspircd_win32wrapper.cpp;h=c32d31d5a2b81045387d0e8e6dbea6735bc976ca;hb=225f37a376d9a556695ac8c84816cf538a3a5448;hp=468de914477a6fe91442ce4b078810c8e84e09d7;hpb=82fb111759a49dc4a7f6aae422aae9423a5e78f1;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/win/inspircd_win32wrapper.cpp b/win/inspircd_win32wrapper.cpp index 468de9144..c32d31d5a 100644 --- a/win/inspircd_win32wrapper.cpp +++ b/win/inspircd_win32wrapper.cpp @@ -302,7 +302,6 @@ int getopt_long_only(int ___argc, char *const *___argv, const char *__shortopts, return -1; const char * opt = ___argv[arg_counter]; - int return_val = 0; // if we're not an option, return an error. if (strnicmp(opt, "--", 2) != 0) @@ -397,7 +396,7 @@ void IPC::Check() switch (action) { case IPC_MESSAGE_REHASH: - Instance->Rehash(); + Instance->Rehash("due to IPC message"); break; case IPC_MESSAGE_DIE: