diff options
author | berkeviktor@aol.com <berkeviktor@aol.com> | 2011-06-17 00:01:25 +0200 |
---|---|---|
committer | berkeviktor@aol.com <berkeviktor@aol.com> | 2011-06-17 00:01:25 +0200 |
commit | 98999bb19d7660321c7151371def629674c5cbc0 (patch) | |
tree | a2ab7fb3198ee1c542a0a8d631f8a8945ef7db6d | |
parent | 2e5752863f425118934675ede36396ad7d6be915 (diff) |
add support for Windows 8 in CTCP VERSION reply
-rw-r--r-- | src/common/util.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/common/util.c b/src/common/util.c index 5677e82a..b9bf3b35 100644 --- a/src/common/util.c +++ b/src/common/util.c @@ -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; } |