]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - plugins/Irc/Fake_Irc.php
Remove inline reply forms on click-away if they have initial text as well as if empty...
[quix0rs-gnu-social.git] / plugins / Irc / Fake_Irc.php
index a1e296e8b15168e936bd5dff44650147253a9764..d95ab0491d1fd5aae725feceb70fcafefe1cf2ab 100644 (file)
@@ -34,7 +34,14 @@ if (!defined('STATUSNET') && !defined('LACONICA')) {
 class Fake_Irc extends Phergie_Driver_Streams {
     public $would_be_sent = null;
 
+    /**
+    * Store the components for sending a command
+    *
+    * @param string $command Command
+    * @param array $args Arguments
+    * @return void
+    */
     protected function send($command, $args = '') {
-        $this->would_be_sent = array($command, $args);
+        $this->would_be_sent = array('command' => $command, 'args' => $args);
     }
-}
+}
\ No newline at end of file