READ THE RULES
0 Members and 1 Guest are viewing this topic.
-- Block of clients with buggy supports-- Created for fun and to force client creators to fix bug caused by bad quack coding.function SupportsArrival(curUser, sData) if string.sub(sData, string.len(sData)-1, string.len(sData)-1) == " " then Core.SendToUser(curUser, "<"..Core.GetHubSecAlias().."> Your client is buggy and sent bad $Supports command.") Core.SendToUser(curUser, "<"..Core.GetHubSecAlias().."> Please report that bug to your client creator and wait for fixed version.") Core.SendToUser(curUser, "<"..Core.GetHubSecAlias().."> If you don't want to wait or your client creator is not able to fix that bug then please change client.") Core.Disconnect(curUser) endend
May i suggest a Core.Kick instead of a Core.Disconnect to avoid hammering ?
I object; hammering will lead to autoban anyway. And kicking would disappoint the user too much IMHO.
36.8% for yes, 36.8% for option with enabled, 26.3% for option with disabled.Who really test that script ? Why nobody complains that this script blocking DC++ and most of DC++ modifications ? Who really want to block them ?
Voting locked, will be implemented in next PtokaX version as option with default enabled
Then what is "Bad $Supports from <unknown> (xxx.xxx.xxx.xxx) - user closed." in the log?