display build type in CTCP VERSION reply
This commit is contained in:
		
							parent
							
								
									b85f311ddd
								
							
						
					
					
						commit
						a795b5ced9
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -133,8 +133,8 @@ ctcp_handle (session *sess, char *to, char *nick, char *ip,
 | 
			
		|||
 | 
			
		||||
	if (!strcasecmp (msg, "VERSION") && !prefs.hidever)
 | 
			
		||||
	{
 | 
			
		||||
		snprintf (outbuf, sizeof (outbuf), "VERSION XChat-WDK "PACKAGE_VERSION" / %s",
 | 
			
		||||
					 get_cpu_str ());
 | 
			
		||||
		snprintf (outbuf, sizeof (outbuf), "VERSION XChat-WDK "PACKAGE_VERSION" [x%d] / %s",
 | 
			
		||||
					 get_cpu_arch (), get_cpu_str ());
 | 
			
		||||
		serv->p_nctcp (serv, nick, outbuf);
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue