From 2e9da023c04d826628063b36553a764126970599 Mon Sep 17 00:00:00 2001 From: Luke Fitzgerald Date: Wed, 21 Jul 2010 07:33:43 -0700 Subject: [PATCH] Rename Phergie_ExtendedBot to Phergie_StatusnetBot --- plugins/Irc/extlib/phergie/Phergie/Process/Statusnet.php | 2 +- .../phergie/Phergie/{ExtendedBot.php => StatusnetBot.php} | 4 ++-- plugins/Irc/ircmanager.php | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) rename plugins/Irc/extlib/phergie/Phergie/{ExtendedBot.php => StatusnetBot.php} (93%) diff --git a/plugins/Irc/extlib/phergie/Phergie/Process/Statusnet.php b/plugins/Irc/extlib/phergie/Phergie/Process/Statusnet.php index 672e6f610b..9369c2c1e7 100644 --- a/plugins/Irc/extlib/phergie/Phergie/Process/Statusnet.php +++ b/plugins/Irc/extlib/phergie/Phergie/Process/Statusnet.php @@ -27,7 +27,7 @@ */ class Phergie_Process_Statusnet extends Phergie_Process_Async { - public function __construct(Phergie_ExtendedBot $bot, array $options) { + public function __construct(Phergie_StatusnetBot $bot, array $options) { $this->usec = 0; Phergie_Process_Abstract::__construct($bot, $options); } diff --git a/plugins/Irc/extlib/phergie/Phergie/ExtendedBot.php b/plugins/Irc/extlib/phergie/Phergie/StatusnetBot.php similarity index 93% rename from plugins/Irc/extlib/phergie/Phergie/ExtendedBot.php rename to plugins/Irc/extlib/phergie/Phergie/StatusnetBot.php index 113bb8b51b..ba41f26db0 100644 --- a/plugins/Irc/extlib/phergie/Phergie/ExtendedBot.php +++ b/plugins/Irc/extlib/phergie/Phergie/StatusnetBot.php @@ -19,13 +19,13 @@ * sockets and to allow StatusNet to 'drive' the bot * * @category Phergie - * @package Phergie_Extended_Bot + * @package Phergie_StatusnetBot * @author Luke Fitzgerald * @copyright 2010 StatusNet, Inc. * @license http://www.fsf.org/licensing/licenses/agpl-3.0.html AGPL 3.0 * @link http://status.net/ */ -class Phergie_ExtendedBot extends Phergie_Bot { +class Phergie_StatusnetBot extends Phergie_Bot { /** * Set up bot and connect to servers * diff --git a/plugins/Irc/ircmanager.php b/plugins/Irc/ircmanager.php index c885064916..ea98263a53 100644 --- a/plugins/Irc/ircmanager.php +++ b/plugins/Irc/ircmanager.php @@ -81,7 +81,7 @@ class IrcManager extends ImManager { */ public function connect() { if (!$this->conn) { - $this->conn = new Phergie_ExtendedBot; + $this->conn = new Phergie_StatusnetBot; $port = empty($this->plugin->port) ? 6667 : $this->plugin->port; $password = empty($this->plugin->password) ? '' : $this->plugin->password;