Changeset 223 for trunk/Phergie/Plugin/Daddy.php
- Timestamp:
- 04/13/08 00:21:06 (7 months ago)
- Files:
-
- trunk/Phergie/Plugin/Daddy.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/Phergie/Plugin/Daddy.php
r217 r223 18 18 $text = $this->event->getArgument(1); 19 19 $target = $this->event->getNick(); 20 if (preg_match('/' . preg_quote($bot) . '\s* :?\s+?who\'?s y(?:our|a) ([^?]+)\??/iAD', $text, $m)) {20 if (preg_match('/' . preg_quote($bot) . '\s*[:,>]?\s+?who\'?s y(?:our|a) ([^?]+)\??/iAD', $text, $m)) { 21 21 if ($this->getIni('curses') && mt_rand(0, 5) === 5) { 22 22 $this->doPrivmsg($this->event->getSource(), $target . ': I am your ' . $m[1] . ', bitch!');