diff options
author | David Phillips <david@sighup.nz> | 2018-09-17 18:01:47 +1200 |
---|---|---|
committer | David Phillips <david@sighup.nz> | 2018-09-20 22:32:25 +1200 |
commit | 62555509a4ced02f05f44e658abf86d7f665d63f (patch) | |
tree | 7cc28067cb111c7703488c947ace1f75e782bba5 /Plugin | |
parent | 0168a87290dccb8548b4943aca6a43b1a2567a96 (diff) | |
download | idalius-62555509a4ced02f05f44e658abf86d7f665d63f.tar.xz |
Allow default quit message
Fixes regression introduced in bf8314a0283f7565854fe773c5d1edf8e26c9660
Diffstat (limited to 'Plugin')
-rw-r--r-- | Plugin/Admin.pm | 2 |
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); } |