mirror of
https://github.com/hexchat/hexchat.git
synced 2024-11-10 13:12:34 +01:00
add support for Windows 8 in CTCP VERSION reply
This commit is contained in:
parent
2e5752863f
commit
98999bb19d
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user