--- deliantra/server/ext/chat.ext 2006/12/15 19:29:18 1.1 +++ deliantra/server/ext/chat.ext 2006/12/21 22:41:34 1.2 @@ -24,14 +24,14 @@ } } -cf::attach_to_players - prio => -1000, +cf::player->attach ( + prio => -1000, on_login => sub { my ($pl) = @_; clean_timeouts $pl->ob; }, -; +); cf::register_command listen => sub { my ($who, $msg) = @_;