Permalink
Browse files

Removed Reboot(Not Working)

  • Loading branch information...
1 parent 41d43ce commit 008435f5d28d7de9c17dcfab7f5eb60d91d16100 @super3 committed Feb 3, 2012
Showing with 0 additions and 39 deletions.
  1. +0 −39 Classes/Command/Reboot.php
View
39 Classes/Command/Reboot.php
@@ -1,39 +0,0 @@
-<?php
-// Namespace
-namespace Command;
-
-/**
- * Reboots the bot.
- *
- * @package IRCBot
- * @subpackage Command
- * @author Super3 <admin@wildphp.com>
- */
-class Reboot extends \Library\IRC\Command\Base {
- /**
- * The command's help text.
- *
- * @var string
- */
- protected $help = '!reboot';
-
- /**
- * Reboots the bot.
- *
- * When running from a browser page the bot roboots using
- * a HTTP refresh with a three second delay.
- *
- * Currently trying to figure out an implementation that
- * would allow the bot to restart via a CLI.
- */
- public function command() {
- // Restart Browser Page
-// echo "<meta http-equiv=\"refresh\" content=\"3\">";
-// exit;
-
- // TODO: Restart CLI
- $this->connection->sendData('QUIT');
- $this->bot->connectToServer();
- }
-}
-?>

0 comments on commit 008435f

Please sign in to comment.