Changeset 286 for trunk/Phergie/Plugin/Sed.php
- Timestamp:
- 09/17/08 00:24:34 (2 months ago)
- Files:
-
- trunk/Phergie/Plugin/Sed.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/Phergie/Plugin/Sed.php
r278 r286 119 119 if (($this->timeLimit <= 0 || isset($tstamp) && ((time() - $this->timeLimit) < $tstamp)) && 120 120 !empty($subject) && !preg_match($regex, $subject, $m)) { 121 $output = trim( preg_replace('/' . $pattern . '/' . $flags, $replacement, $subject, $limit));121 $output = trim(@preg_replace('/' . $pattern . '/' . $flags, $replacement, $subject, $limit)); 122 122 if (!empty($output) && $subject != $output) { 123 123 $this->doPrivmsg($source,