Changeset 245
- Timestamp:
- 04/15/08 01:14:57 (7 months ago)
- Files:
-
- trunk/Phergie/Driver/Streams.php (modified) (2 diffs)
- trunk/Phergie/Plugin/Abstract/Base.php (modified) (1 diff)
- trunk/Phergie/Plugin/Php.php (modified) (1 diff)
- trunk/Phergie/Plugin/Seen.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/Phergie/Driver/Streams.php
r236 r245 315 315 foreach($this->plugins as $plugin) { 316 316 // Skip disabled plugins 317 if ( $plugin->enabled === false) {317 if (!$plugin->enabled) { 318 318 continue; 319 319 } … … 327 327 } elseif (!empty($cmd) && method_exists($plugin, $method) && 328 328 !preg_match($ignore, $event->getHostmask())) { 329 call_user_func(array($plugin, $method));329 $plugin->{$method}(); 330 330 } 331 331 } trunk/Phergie/Plugin/Abstract/Base.php
r232 r245 124 124 } 125 125 126 return call_user_func_array(array($this, 'onPhpError'), array($errno, $errstr, $errfile, $errline));126 return $this->onPhpError($errno, $errstr, $errfile, $errline); 127 127 } 128 128 trunk/Phergie/Plugin/Php.php
r244 r245 75 75 } else { 76 76 $this->errorStatus = false; 77 $contents = null;77 $contents = false; 78 78 } 79 79 $this->cache[$name] = $contents; trunk/Phergie/Plugin/Seen.php
r230 r245 377 377 // Perform the search 378 378 $params = array( 379 ':nick' => $user, 380 ':offset' => (strtolower($target) == strtolower($user) ? 1 : 0) 379 ':nick' => $user 381 380 ); 382 381