cleanup
This commit is contained in:
@@ -65,7 +65,8 @@ void Server::invite_cmd(User &client, std::istringstream &ss)
|
||||
return ;
|
||||
}
|
||||
|
||||
client_it->second.send("YOUVE BEEN INVITED YAAAAAAAYYYYY!!!!!!");
|
||||
client_it->second.send(":" + client.getNick() + "!" + client.getUsername() + "@localhost INVITE " + client_it->second.getNick() + " :" + channel_it->second.getName());
|
||||
client.send(std::string(":") + SERVER_NAME " 341 " + client.getNick() + " " + client_it->second.getNick() + " " + channel_it->second.getName());
|
||||
channel_it->second.inviteMember(client_it->second);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user