--- deliantra/server/ext/chat.ext 2007/07/22 17:10:05 1.23 +++ deliantra/server/ext/chat.ext 2007/07/23 21:17:14 1.25 @@ -868,7 +868,7 @@ cf::LOG cf::llevDebug, sprintf "QBERT {%s} %s\n", $name, $msg; send_irc ("\007\0034{%s} %s\n", $name, $msg); - $_->ns->send_msg ($CHAT_CHANNEL => "$name shouts: $msg", cf::NDI_BLUE, $_ == $pl ? (reply => 1) : ()) + $_->ns->send_msg ($CHAT_CHANNEL => "$name shouts: $msg", cf::NDI_RED, $_ == $pl ? (reply => 1) : ()) for grep { $_->ob->{ext_ignore_shout}{$name} < $NOW && $_->listening >= 2 } cf::player::list; } else { @@ -914,7 +914,7 @@ } elsif ($other->ob->{ext_ignore_tell}{$name} >= time) { $ns->send_msg ($pl_channel => "$target ignores what you say. Give up on it.", reply => 1); } else { - return if $other->invoke (cf::EVENT_PLAYER_TOLD, $pl->contr, $msg); + return if $other->invoke (cf::EVENT_PLAYER_TOLD, $pl, $msg); cf::LOG cf::llevDebug, sprintf "TELL [%s>%s] %s\n", $name, $target, $msg; $ns->send_msg ($pl_channel => "You tell $target: $msg", reply => 1);