Skip to content

Commit

Permalink
Forgot quotes, fix #7
Browse files Browse the repository at this point in the history
RoLex committed Oct 31, 2017
1 parent 4fdca61 commit c020579
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ledokol.lua
Original file line number Diff line number Diff line change
@@ -9364,7 +9364,7 @@ function delreplacer (nick, line)
end
end

local _, rows = VH:SQLQuery ("select `id` from `" .. tbl_sql.chatrepl .. "` where `message` = " .. repsqlchars (repnmdcinchars (line))) -- try removing by lre
local _, rows = VH:SQLQuery ("select `id` from `" .. tbl_sql.chatrepl .. "` where `message` = '" .. repsqlchars (repnmdcinchars (line)) .. "'") -- try removing by lre

if rows > 0 then
local _, id = VH:SQLFetch (0)

0 comments on commit c020579

Please sign in to comment.