correct chan displayed
This commit is contained in:
		
							parent
							
								
									835a5e68f2
								
							
						
					
					
						commit
						f281f57296
					
				@ -14,7 +14,7 @@ bool SparrowModule::messageHandler(Message msg)
 | 
				
			|||||||
            && msg.target.compare("#"+getChan()) == 0
 | 
					            && msg.target.compare("#"+getChan()) == 0
 | 
				
			||||||
            && msg.nick.compare(getNick()) != 0)
 | 
					            && msg.nick.compare(getNick()) != 0)
 | 
				
			||||||
    {
 | 
					    {
 | 
				
			||||||
        answer = say("Bienvenue sur #epicsparrow "+msg.nick+"!");
 | 
					        answer = say("Bienvenue sur #"+getChan()+" "+msg.nick+"!");
 | 
				
			||||||
        return true;
 | 
					        return true;
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
    else if(msg.command.compare(QString("PRIVMSG"), Qt::CaseInsensitive) == 0)
 | 
					    else if(msg.command.compare(QString("PRIVMSG"), Qt::CaseInsensitive) == 0)
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user