Assembla home | Assembla project page
 

Changeset 73

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

* Daddy : really uses curses now (hopefully)

Files:

Legend:

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

    r72 r73  
    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') === true && rand(0,10) === 10) { 
    2626                    $this->doPrivmsg($this->event->getSource(), $this->event->getNick() . ': I am your daddy, bitch!'); 
    2727                } else {