]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - win/inspircd_win32wrapper.cpp
Check in tag names too
[user/henk/code/inspircd.git] / win / inspircd_win32wrapper.cpp
index 468de914477a6fe91442ce4b078810c8e84e09d7..c32d31d5a2b81045387d0e8e6dbea6735bc976ca 100644 (file)
@@ -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: