add support for Windows 8 in CTCP VERSION reply
This commit is contained in:
		
							parent
							
								
									2e5752863f
								
							
						
					
					
						commit
						98999bb19d
					
				
					 1 changed files with 10 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -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…
	
	Add table
		
		Reference in a new issue