aboutsummaryrefslogtreecommitdiff
path: root/Plugin
diff options
context:
space:
mode:
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);
}