From 8ee46752b8f58f87441a0ac2b2502b64a817e000 Mon Sep 17 00:00:00 2001 From: penguinc Date: Sun, 23 Jan 2005 06:42:20 +0000 Subject: [PATCH] Fixed a problem when the server is not running --- lib/NWNDriver.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;