… | |
… | |
193 | $msg =~ s/([\x00-\x08\x0b-\x1f])/sprintf "\\x%02x", ord $1/ge; |
193 | $msg =~ s/([\x00-\x08\x0b-\x1f])/sprintf "\\x%02x", ord $1/ge; |
194 | |
194 | |
195 | LOG llevError, $msg; |
195 | LOG llevError, $msg; |
196 | }; |
196 | }; |
197 | } |
197 | } |
|
|
198 | |
|
|
199 | $Coro::State::DIEHOOK = sub { |
|
|
200 | warn Carp::longmess $_[0]; |
|
|
201 | Coro::terminate; |
|
|
202 | }; |
198 | |
203 | |
199 | @safe::cf::global::ISA = @cf::global::ISA = 'cf::attachable'; |
204 | @safe::cf::global::ISA = @cf::global::ISA = 'cf::attachable'; |
200 | @safe::cf::object::ISA = @cf::object::ISA = 'cf::attachable'; |
205 | @safe::cf::object::ISA = @cf::object::ISA = 'cf::attachable'; |
201 | @safe::cf::player::ISA = @cf::player::ISA = 'cf::attachable'; |
206 | @safe::cf::player::ISA = @cf::player::ISA = 'cf::attachable'; |
202 | @safe::cf::client::ISA = @cf::client::ISA = 'cf::attachable'; |
207 | @safe::cf::client::ISA = @cf::client::ISA = 'cf::attachable'; |