aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/database-postgresql.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/database-postgresql.cpp b/src/database-postgresql.cpp
index 03a69566b..83678fd52 100644
--- a/src/database-postgresql.cpp
+++ b/src/database-postgresql.cpp
@@ -281,7 +281,7 @@ bool Database_PostgreSQL::deleteBlock(const v3s16 &pos)
const int argLen[] = { sizeof(x), sizeof(y), sizeof(z) };
const int argFmt[] = { 1, 1, 1 };
- execPrepared("read_block", ARRLEN(args), args, argLen, argFmt);
+ execPrepared("delete_block", ARRLEN(args), args, argLen, argFmt);
return true;
}