summaryrefslogtreecommitdiff
path: root/src/map/script.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/script.c')
-rw-r--r--src/map/script.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/script.c b/src/map/script.c
index 17d859289..4198fdd55 100644
--- a/src/map/script.c
+++ b/src/map/script.c
@@ -11588,7 +11588,7 @@ BUILDIN_FUNC(query_sql)
// Execute the query
query = script_getstr(st,2);
- if( SQL_ERROR == Sql_Query(mmysql_handle, query) )
+ if( SQL_ERROR == Sql_QueryStr(mmysql_handle, query) )
{
Sql_ShowDebug(mmysql_handle);
script_pushint(st, 0);