]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Modified some config options
authorLuke Fitzgerald <lw.fitzgerald@googlemail.com>
Fri, 9 Jul 2010 11:20:00 +0000 (04:20 -0700)
committerLuke Fitzgerald <lw.fitzgerald@googlemail.com>
Fri, 9 Jul 2010 11:20:00 +0000 (04:20 -0700)
plugins/Irc/ircmanager.php

index 37d9980853e98f639ae369c20b998d2c6188f0c8..71aa9644aafa55c7e92dd75402a7007eee36bc1a 100644 (file)
@@ -72,8 +72,8 @@ class IrcManager extends ImManager {
             $password = isset($this->plugin->password) ? $this->plugin->password : '';
             $transport = isset($this->plugin->transport) ? $this->plugin->transport : 'tcp';
             $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 : '';
+            $channels = isset($this->plugin->channels) ? $this->plugin->channels : array();
 
             $config = new Phergie_Extended_Config;
             $config->readArray(
@@ -92,8 +92,9 @@ class IrcManager extends ImManager {
                         )
                     ),
 
-                    'processor' => 'async',
-                    'processor.options' => array('usec' => 200000),
+                    'driver' => 'statusnet',
+
+                    'processor' => 'statusnet',
 
                     'plugins' => array(
                         'Pong',
@@ -107,7 +108,8 @@ class IrcManager extends ImManager {
                     'ui.enabled' => true,
 
                     'nickserv.password' => $nickservpassword,
-                    'autojoin.channels' => $channels
+                    'autojoin.channels' => $channels,
+                    'statusnet_callback.callback' => array($this, 'handle_irc_message')
                 )
             );