Someone is usyng force redirect to get all my users. How can i stop that?
function OpForceMoveArrival(User, Data)
SendToOps("RedirectCheck",User.sName.." is trying to use the DC++ builtin redirect feature."
return 1
end
untested!
Ok thx, and that will block the force redirect or will just send to OPs an message?
I tired to test him, but .. scripts\antiredir.lua:3: ')' expected (to close '(' at line 2) near 'return'
This script will do both: block the redirect, and alert the OPs about hat. If you want to see the report in the OpChat, use SendToOpChat instad of SendToOps
ok
But what about this : ... scripts\antiredir.lua:3: ')' expected (to close '(' at line 2) near 'return'
Quote from: viisoara17 on 24 June, 2007, 12:35:11
ok
But what about this : ... scripts\antiredir.lua:3: ')' expected (to close '(' at line 2) near 'return'
function OpForceMoveArrival(User, Data)
SendToOps("RedirectCheck",User.sName.." is trying to use the DC++ builtin redirect feature."
return 1
end
It's a missing ) from SendToOps[...] line's end.
function OpForceMoveArrival(User, Data)
SendToOps("RedirectCheck",User.sName.." is trying to use the DC++ builtin redirect feature.")
return 1
end
Try this
it`s working veery good. Thank you
Sorry, I was in a hurry. :)