Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var rBanList = sys.getFileContent('rbans.txt')
- if(rBanList != undefined) {
- rBanList = rBanList.split(',')
- for(x in rBanList) {
- var length=rBanList[x].length
- if(rBanList[x].length == 0) {
- return;
- }
- if(sys.ip(src).substr(0,length) == rBanList[x]){
- sys.kick(src)
- return;
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement