problem with lua script
So i wrote a small script which blocking multi connect ..so only 1nick = 1 ip
local Exc ={ -- таблица исключений.
["[INT]district"] = true,
["nick"] = true,
}
function ValidateNickArr
if not Exc[tUser.sNick] then
for _,v in pairs(Core.
if v.sIP==tUser.sIP then
Core.
Core.
end
end
end
end
NewUserConnecte
UserConnected=
RegConnected=
OpConnected=
when i open the second dc client... hub all time write me 1NICK-1IP (it's ok) . BUT when a close my first client ...the second client not connected ....and wrote me 1NICK-1IP ... 1NICK-1IP ...where is my mistake ??? how to enter =)
Question information
- Language:
- English Edit question
- Status:
- Answered
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Vladimir for more information if necessary.