Assembla home | Assembla project page
 

Changeset 74

Show
Ignore:
Timestamp:
02/25/08 07:11:30 (9 months ago)
Author:
Seldaek
Message:

* Daddy : okay I tested parse_ini_file to be sure this time :$

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/Phergie/Plugin/Daddy.php

    r73 r74  
    2323        $text = $this->event->getArgument(1); 
    2424        if (preg_match('/' . $bot . '\s*:?\s+?who\'?s your daddy\??/iAD', $text)) { 
    25                 if($this->getIni('curses') === true && rand(0,10) === 10) { 
     25                if($this->getIni('curses') && rand(0,5) === 5) { 
    2626                    $this->doPrivmsg($this->event->getSource(), $this->event->getNick() . ': I am your daddy, bitch!'); 
    2727                } else {