Skip to content

Commit 07e825f

Browse files
committed
fix(database): Query not executing w/o callback
1 parent 47677ea commit 07e825f

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

plugin_files/bin/scripting/1_database.lua

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,6 @@ function Database(name)
2424
return {
2525
dbval = DB(name),
2626
Query = function(self, query, callback)
27-
if type(callback) ~= "function" then return end
28-
2927
local callback_uuid = uuid()
3028
if callback then databaseRequestsQueue[callback_uuid] = callback end
3129
self.dbval:Query(query, callback_uuid)

0 commit comments

Comments
 (0)