Bug #2063 » UserExistsLog.patch
| lua/database.lua | ||
|---|---|---|
|
local count = res:fetch()
|
||
|
res:close()
|
||
|
if count == 1 then
|
||
|
log.normal("User exists")
|
||
|
else
|
||
|
log.normal("User does not exist")
|
||
|
end
|
||
|
return count == 1
|
||
|
end
|
||