diff --git a/lib/NWNDriver.php b/lib/NWNDriver.php index b04790d..048ef5a 100644 --- a/lib/NWNDriver.php +++ b/lib/NWNDriver.php @@ -247,7 +247,7 @@ class NWNDriver return PEAR::raiseError(_("Could not load the module!")); } } else { - $result = PEAR::raiseError(_("Server is not running!")); + return PEAR::raiseError(_("Server is not running!")); } $this->_settingsbackend->setData($settings); return true;