enanobot.php
changeset 41 1d854f22ac5a
parent 40 1855846cbdab
child 49 4c4d69b2cd4d
--- a/enanobot.php	Thu Jan 01 00:18:34 2009 -0500
+++ b/enanobot.php	Sat Jan 03 17:09:16 2009 -0500
@@ -180,7 +180,7 @@
   else if ( in_array($message['nick'], $privileged_list) && preg_match('/^Shutdown(?: (.+))?$/i', $message['message'], $match) && $message['action'] == 'PRIVMSG' )
   {
     $GLOBALS['_shutdown'] = true;
-    $quitmessage = empty($match[1]) ? "Remote bot shutdown ordered by {$message['nick']}" : $match[1];
+    $quitmessage = empty($match[1]) ? "Remote bot shutdown requested by {$message['nick']}" : $match[1];
     $irc->close($quitmessage, true);
     return 'BREAK';
   }