Rename Phergie_ExtendedBot to Phergie_StatusnetBot

This commit is contained in:
Luke Fitzgerald 2010-07-21 07:33:43 -07:00
parent af5ecb88b1
commit 2e9da023c0
3 changed files with 4 additions and 4 deletions

View File

@ -27,7 +27,7 @@
*/ */
class Phergie_Process_Statusnet extends Phergie_Process_Async { 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; $this->usec = 0;
Phergie_Process_Abstract::__construct($bot, $options); Phergie_Process_Abstract::__construct($bot, $options);
} }

View File

@ -19,13 +19,13 @@
* sockets and to allow StatusNet to 'drive' the bot * sockets and to allow StatusNet to 'drive' the bot
* *
* @category Phergie * @category Phergie
* @package Phergie_Extended_Bot * @package Phergie_StatusnetBot
* @author Luke Fitzgerald <lw.fitzgerald@googlemail.com> * @author Luke Fitzgerald <lw.fitzgerald@googlemail.com>
* @copyright 2010 StatusNet, Inc. * @copyright 2010 StatusNet, Inc.
* @license http://www.fsf.org/licensing/licenses/agpl-3.0.html AGPL 3.0 * @license http://www.fsf.org/licensing/licenses/agpl-3.0.html AGPL 3.0
* @link http://status.net/ * @link http://status.net/
*/ */
class Phergie_ExtendedBot extends Phergie_Bot { class Phergie_StatusnetBot extends Phergie_Bot {
/** /**
* Set up bot and connect to servers * Set up bot and connect to servers
* *

View File

@ -81,7 +81,7 @@ class IrcManager extends ImManager {
*/ */
public function connect() { public function connect() {
if (!$this->conn) { if (!$this->conn) {
$this->conn = new Phergie_ExtendedBot; $this->conn = new Phergie_StatusnetBot;
$port = empty($this->plugin->port) ? 6667 : $this->plugin->port; $port = empty($this->plugin->port) ? 6667 : $this->plugin->port;
$password = empty($this->plugin->password) ? '' : $this->plugin->password; $password = empty($this->plugin->password) ? '' : $this->plugin->password;