As long as I can see, Ptokax first checks passwords and after that it calls PasswordArrival. If the pass is bad, user is rejected and nobody knows.
It will be nice that PasswordArrival could control that, so we can send a message to ops, put escalable timebans, etc.
I was thinking in something like that:
function PasswordArrival(user, Data)
local s, e, password = string.find(Data,"^$MyPass%s(%S+)|$")
local pass = frmHub:GetUserPassword(user.sName)
if password ~= pass then
-- Message to ops, warns, disconnect, timeban, etc.
return 1
end
end
Thanks in advance and excuse me if this is my error.