summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas "Pixel" Noble <pixel@nobis-crew.org>2010-11-27 07:03:26 +0100
committerNicolas "Pixel" Noble <pixel@nobis-crew.org>2010-11-27 07:03:26 +0100
commit070402f728067ed415b1e02d17823508b4dc2bcd (patch)
treea2034bf3daa4f8de7bdb22d0751afc6d9d39c386
parent6a5b9f63793f7efd1d923365cf32bb05a32793b0 (diff)
Fixing syntax error on the read_only system in dblib.
-rw-r--r--lib/dblib.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/dblib.lua b/lib/dblib.lua
index 8a1f7e1..26c23ff 100644
--- a/lib/dblib.lua
+++ b/lib/dblib.lua
@@ -298,7 +298,7 @@ END;
db:SafeQuery("DROP TABLE " .. tname .. ";", "update")
end
end
- else not read_only
+ else if not read_only
-- table exists, let's check it.
local i
local any_common = false