diff options
-rw-r--r-- | lib/network/connection_manager.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/network/connection_manager.pm b/lib/network/connection_manager.pm index 1b69fa8..d96192f 100644 --- a/lib/network/connection_manager.pm +++ b/lib/network/connection_manager.pm @@ -447,7 +447,7 @@ sub setup_dbus_handlers { my ($_con, $msg) = @_; my $member = $msg->get_member; my $message = _get_network_event_message($droam, $member, $msg->get_args_list) or return; - $droam->{on_network_event}($message) if $droam->{on_network_event}; + $on_network_event->($message) if $on_network_event; $droam->update_networks if $member eq 'status'; }); $dbus->{connection}->add_match("type='signal',interface='com.mandriva.network'"); |