summaryrefslogtreecommitdiffstats
path: root/lib/ASM
diff options
context:
space:
mode:
authorLibravatarWilliam Heimbigner <william.heimbigner@gmail.com>2016-02-17 11:45:17 -0700
committerLibravatarWilliam Heimbigner <william.heimbigner@gmail.com>2016-02-17 11:45:17 -0700
commit422ea911ec57de0c5c43dc0f14e6561c998ffc62 (patch)
treeedddfd922986cce21496db4cf3aae783e9ba1c21 /lib/ASM
parente12886e3aef086030785f3a47868852404b3a596 (diff)
Show who requested a ;quit in the quit message.
Diffstat (limited to 'lib/ASM')
-rw-r--r--lib/ASM/Commander.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ASM/Commander.pm b/lib/ASM/Commander.pm
index e068194..6719b6d 100644
--- a/lib/ASM/Commander.pm
+++ b/lib/ASM/Commander.pm
@@ -836,7 +836,7 @@ sub cmd_sl {
sub cmd_quit {
my ($conn, $event) = @_;
- $conn->quit($+{reason});
+ $conn->quit('Restart requested by ' . $event->{nick} . ': ' . $+{reason});
}
sub cmd_ev {