Also print the command that wasn't recognized.
This commit is contained in:
		
							parent
							
								
									5ca87b3c8d
								
							
						
					
					
						commit
						99f74e8d94
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -4749,13 +4749,13 @@ handle_command (session *sess, char *cmd, int check_spch)
 | 
			
		|||
	}
 | 
			
		||||
	else
 | 
			
		||||
	{
 | 
			
		||||
		/* unknown command, just send it to the server and hope */
 | 
			
		||||
		if (!sess->server->connected)
 | 
			
		||||
		{
 | 
			
		||||
			PrintText (sess, _("Unknown Command. Try /help\n"));
 | 
			
		||||
			PrintTextf (sess, _("Unknown Command %s. Try /help\n"), word[1]);
 | 
			
		||||
		}
 | 
			
		||||
		else
 | 
			
		||||
		{
 | 
			
		||||
			/* unknown command, just send it to the server and hope */
 | 
			
		||||
			sess->server->p_raw (sess->server, cmd);
 | 
			
		||||
		}
 | 
			
		||||
	}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue