--- deliantra/server/ext/irc.ext 2007/05/18 21:24:31 1.2 +++ deliantra/server/ext/irc.ext 2007/07/28 12:02:58 1.3 @@ -53,8 +53,7 @@ } else { cf::LOG cf::llevDebug, sprintf "TELL [%s/%s>%s] %s\n", $name, $me, $target, $tmsg; - $other->ob->message ("$name/$me tells you: $tmsg"); - $other->ob->{ext_last_tell} = "$name/$me"; + $other->ns->send_msg (cf::chat::tell_channel ("$name/$me"), "$name/$me tells you: $tmsg", cf::NDI_DK_ORANGE | cf::NDI_DEF); } } else { do_notice "$me: What do you want to tell $target?"; @@ -88,8 +87,8 @@ if ($tmsg =~ /^\!/) { handle_fcmd ($name, $nick, $tmsg); } elsif ($tmsg =~ m/\S/) { - $_->ob->message ( - "$name/".$nick." chats: $tmsg", cf::NDI_BLUE + $_->ns->send_msg ($cf::chat::CHAT_CHANNEL, + "$name/".$nick." chats: $tmsg", cf::NDI_BLUE | cf::NDI_DEF ) for grep { $_->ob->{ext_ignore_shout}{$name} < $NOW && $_->listening >= 10 } cf::player::list; } 1;