… | |
… | |
200 | }; |
200 | }; |
201 | |
201 | |
202 | cf::register_command hiscore => sub { |
202 | cf::register_command hiscore => sub { |
203 | my ($ob, $arg) = @_; |
203 | my ($ob, $arg) = @_; |
204 | |
204 | |
205 | my $url = $cf::CFG->{hiscore_url}; |
205 | my $url = $cf::CFG{hiscore_url}; |
206 | $ob->send_msg (log => "See $url", cf::NDI_REPLY); |
206 | $ob->send_msg (log => "See $url", cf::NDI_REPLY); |
207 | }; |
207 | }; |
208 | |
208 | |
209 | sub _set_mode($$$@) { |
209 | sub _set_mode($$$@) { |
210 | my ($name, $ob, $arg, $slot, @choices) = @_; |
210 | my ($name, $ob, $arg, $slot, @choices) = @_; |