Yes...You are right....
I have changed it to this:
Code:
stock IsLocalIp(IP[32])
{
new tIP[32]
copy(tIP,3,IP)
if(equal(tIP,"10.") || equal(tIP,"127"))
return 1
copy(tIP,7,IP)
if(equal(tIP,"192.168"))
return 1
copy(tIP,3,IP)
if(equal(tIP,"172"))
return 1
return 0
}
And now it works...
(Remember, it will handles the AOL-Users like an error or local-user ! If you'll use it as a kicker, it doesn't work...)
In the next few days i will show 'my' plugin in an extra thread..