]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - plugins/Irc/extlib/phergie/Phergie/Plugin/Message.php
Merge branch '0.9.x' of gitorious.org:statusnet/mainline into 1.0.x
[quix0rs-gnu-social.git] / plugins / Irc / extlib / phergie / Phergie / Plugin / Message.php
index 4dfbb30dee13d1becab276a296b99b4139f48449..af8fc7287b3aa044f0a0682243b5110734d6805e 100644 (file)
@@ -52,14 +52,14 @@ class Phergie_Plugin_Message extends Phergie_Plugin_Abstract
         $}ix
 REGEX;
 
-        return !$event->isInChannel()
+        return !$event->isInChannel() 
             || preg_match($targetPattern, $event->getText()) > 0;
     }
 
     /**
      * Allow for prefix and bot name aware extraction of a message
      *
-     * @return string|bool $message The message, which is possibly targeted at the
+     * @return string|bool $message The message, which is possibly targeted at the 
      *                              bot or false if a prefix requirement failed
      */
     public function getMessage()