fix whisper bug where it did not allow you to whisper to observers.

This commit is contained in:
Dominic Bolin 2006-07-02 23:05:30 +00:00
parent dcb8a2a795
commit 2481904478

View file

@ -686,7 +686,7 @@ void server::process_whisper(const network::connection sock, const config& whisp
for(player_map::const_iterator i = players_.begin(); i != players_.end(); ++i) {
if(i->second.name() == whisper["receiver"]) {
for(g = games_.begin(); g != games_.end(); ++g) {
if(g->is_member(i->first)) {
if(g->is_player(i->first)) {
do_send = false;
break;
}