Changeset 55927 in spip-zone for _acotes_


Ignore:
Timestamp:
Dec 23, 2011, 10:44:46 AM (7 years ago)
Author:
brunobergot@…
Message:

trimons sur les questions...

File:
1 edited

Legend:

Unmodified
Added
Removed
  • _acotes_/irc/phergie/Phergie/Plugin/Edgard.php

    r55923 r55927  
    7777                           '^@\?([^?]+)/iAD';
    7878                if (preg_match($pattern, $text, $m)) {
    79                         $m[1]=preg_replace("'\s+'", '+', $m[1]);
    80                         $msg = "Ok ok http://edgard.spip.org/questions/". $m[1] ;
     79                        $m[1]=preg_replace("'\s+'", '+', trim($m[1]));
     80                        $msg = "Hop http://edgard.spip.org/questions/". $m[1] ;
    8181                    $this->doPrivmsg($source, $msg);
    8282                }
Note: See TracChangeset for help on using the changeset viewer.