diff options
Diffstat (limited to 'plugins/Irc/extlib/phergie/Phergie/Plugin/Abstract.php')
-rwxr-xr-x | plugins/Irc/extlib/phergie/Phergie/Plugin/Abstract.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Irc/extlib/phergie/Phergie/Plugin/Abstract.php b/plugins/Irc/extlib/phergie/Phergie/Plugin/Abstract.php index d7e0d351a..b7105ecdb 100755 --- a/plugins/Irc/extlib/phergie/Phergie/Plugin/Abstract.php +++ b/plugins/Irc/extlib/phergie/Phergie/Plugin/Abstract.php @@ -270,7 +270,7 @@ abstract class Phergie_Plugin_Abstract */ public function getEvent() { - if (empty($this->connection)) { + if (empty($this->event)) { throw new Phergie_Plugin_Exception( 'Event cannot be accessed before one is set', Phergie_Plugin_Exception::ERR_NO_EVENT |