Rename Phergie_ExtendedBot to Phergie_StatusnetBot
This commit is contained in:
parent
af5ecb88b1
commit
2e9da023c0
|
@ -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);
|
||||
}
|
||||
|
|
|
@ -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 <lw.fitzgerald@googlemail.com>
|
||||
* @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
|
||||
*
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue
Block a user