add support for Windows 8 in CTCP VERSION reply

This commit is contained in:
berkeviktor@aol.com 2011-06-17 00:01:25 +02:00
parent 2e5752863f
commit 98999bb19d
1 changed files with 10 additions and 0 deletions

View File

@ -726,6 +726,16 @@ get_cpu_str (void)
strcpy (winver, "Server 2008 R2");
}
break;
case 2:
if (osvi.wProductType == VER_NT_WORKSTATION)
{
strcpy (winver, "8");
}
else
{
strcpy (winver, "8 Server");
}
break;
}
break;
}