Since the modules API is indeed highly underdocumented, you are best off with checking existing modules, how they do it.
Like, have a look at my nopost module , or AntiMoon, or AntiRandom, etc...
Thank you, it was helpful.
By now I have another problem. I'm using the function place_host_ban() in ...
Search found 4 matches
- Mon Nov 01, 2010 5:13 pm
- Forum: Unreal 3.2 Modules
- Topic: How to block a client in custom module?
- Replies: 6
- Views: 4371
- Thu Oct 14, 2010 3:09 pm
- Forum: Unreal 3.2 Modules
- Topic: How to block a client in custom module?
- Replies: 6
- Views: 4371
Re: How to block a client in custom module?
Nobody knows?
- Mon Oct 11, 2010 9:59 am
- Forum: Unreal 3.2 Modules
- Topic: How to block a client in custom module?
- Replies: 6
- Views: 4371
Re: How to block a client in custom module?
There is an extended definition of flooding which can't be checked with usual UnrealIRCd filters.
My module do this extended flood checks. When the flood detected I would like to block the clients which are flooding.
How could I do it?
My idea was to use "kline".
My module do this extended flood checks. When the flood detected I would like to block the clients which are flooding.
How could I do it?
My idea was to use "kline".
- Sat Oct 09, 2010 11:04 am
- Forum: Unreal 3.2 Modules
- Topic: How to block a client in custom module?
- Replies: 6
- Views: 4371
How to block a client in custom module?
Hi,
In my module in some cases I have to block connected clients.
How could I do it with "kline"-command?
Is it possible to send this command with
sendto_one(sptr, ":noticebot kline +user@host <time in sec> <message>");
where aClient *sptr?
Or should I do it in other way.
How to get user@host ...
In my module in some cases I have to block connected clients.
How could I do it with "kline"-command?
Is it possible to send this command with
sendto_one(sptr, ":noticebot kline +user@host <time in sec> <message>");
where aClient *sptr?
Or should I do it in other way.
How to get user@host ...