forked from GNUsocial/gnu-social
Modified some config options
This commit is contained in:
parent
022e92ce5d
commit
4a602eb4ba
@ -72,8 +72,8 @@ class IrcManager extends ImManager {
|
|||||||
$password = isset($this->plugin->password) ? $this->plugin->password : '';
|
$password = isset($this->plugin->password) ? $this->plugin->password : '';
|
||||||
$transport = isset($this->plugin->transport) ? $this->plugin->transport : 'tcp';
|
$transport = isset($this->plugin->transport) ? $this->plugin->transport : 'tcp';
|
||||||
$encoding = isset($this->plugin->encoding) ? $this->plugin->encoding : 'ISO-8859-1';
|
$encoding = isset($this->plugin->encoding) ? $this->plugin->encoding : 'ISO-8859-1';
|
||||||
$channels = isset($this->plugin->channels) ? $this->plugin->channels : array();
|
|
||||||
$nickservpassword = isset($this->plugin->nickservpassword) ? $this->plugin->nickservpassword : '';
|
$nickservpassword = isset($this->plugin->nickservpassword) ? $this->plugin->nickservpassword : '';
|
||||||
|
$channels = isset($this->plugin->channels) ? $this->plugin->channels : array();
|
||||||
|
|
||||||
$config = new Phergie_Extended_Config;
|
$config = new Phergie_Extended_Config;
|
||||||
$config->readArray(
|
$config->readArray(
|
||||||
@ -92,8 +92,9 @@ class IrcManager extends ImManager {
|
|||||||
)
|
)
|
||||||
),
|
),
|
||||||
|
|
||||||
'processor' => 'async',
|
'driver' => 'statusnet',
|
||||||
'processor.options' => array('usec' => 200000),
|
|
||||||
|
'processor' => 'statusnet',
|
||||||
|
|
||||||
'plugins' => array(
|
'plugins' => array(
|
||||||
'Pong',
|
'Pong',
|
||||||
@ -107,7 +108,8 @@ class IrcManager extends ImManager {
|
|||||||
'ui.enabled' => true,
|
'ui.enabled' => true,
|
||||||
|
|
||||||
'nickserv.password' => $nickservpassword,
|
'nickserv.password' => $nickservpassword,
|
||||||
'autojoin.channels' => $channels
|
'autojoin.channels' => $channels,
|
||||||
|
'statusnet_callback.callback' => array($this, 'handle_irc_message')
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user