aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Phillips <david@sighup.nz>2017-11-08 23:21:21 +1300
committerDavid Phillips <david@sighup.nz>2017-11-08 23:26:00 +1300
commit675fb6b676e1f72c6aa337bfa500501e344e3eb0 (patch)
treebfd6a9cbf44e8cbf983209e503f3d22d9e0d3aac
parent40c13a54e442173b160e66288c97808d04f232d7 (diff)
downloadidalius-675fb6b676e1f72c6aa337bfa500501e344e3eb0.tar.xz
Dump information about disconnection, error and socket errors
-rwxr-xr-xidalius.pl3
1 files changed, 3 insertions, 0 deletions
diff --git a/idalius.pl b/idalius.pl
index ff89939..0f59b2f 100755
--- a/idalius.pl
+++ b/idalius.pl
@@ -225,15 +225,18 @@ sub irc_invite {
}
sub irc_disconnected {
+ _default(@_); # Dump the message
%config = config_file::parse_config($config_file);
$irc->yield(connect => { });
}
sub irc_error {
+ _default(@_); # Dump the message
$irc->yield(connect => { });
}
sub irc_socketerr {
+ _default(@_); # Dump the message
$irc->yield(connect => { });
}