aboutsummaryrefslogtreecommitdiff
path: root/Plugin
diff options
context:
space:
mode:
authorDavid Phillips <david@sighup.nz>2018-09-17 18:01:47 +1200
committerDavid Phillips <david@sighup.nz>2018-09-20 22:32:25 +1200
commit62555509a4ced02f05f44e658abf86d7f665d63f (patch)
tree7cc28067cb111c7703488c947ace1f75e782bba5 /Plugin
parent0168a87290dccb8548b4943aca6a43b1a2567a96 (diff)
downloadidalius-62555509a4ced02f05f44e658abf86d7f665d63f.tar.xz
Allow default quit message
Fixes regression introduced in bf8314a0283f7565854fe773c5d1edf8e26c9660
Diffstat (limited to 'Plugin')
-rw-r--r--Plugin/Admin.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/Plugin/Admin.pm b/Plugin/Admin.pm
index 622f772..9313110 100644
--- a/Plugin/Admin.pm
+++ b/Plugin/Admin.pm
@@ -142,6 +142,8 @@ sub reconnect {
return unless is_admin($logger, $who, $ided);
my $reason = $rest;
+ $reason = $config->{quit_msg} unless $reason;
+
$irc->yield(quit => $reason);
}