Anope IRC Services
Anope Development => Modules => Topic started by: capitaine on November 05, 2008, 04:42:56 PM
-
Is it possible to re-use Chanserv behaviour in check_kick() ?
In fact, I need to make a module which kickban a user for a reason.
But if the chan he joined was empty, of course I want Chanserv to keep the chan for a while, so the ban stay too.
So is there a way, a call from to do it a module without cut/paste the core's code ?
-
you can call check_kick() directly from the module and it's not hard to inhabit the channel using chanserv's CSInhabit limit either. There is an old anope module called cs_mkick that has an example of how to inhabit the channel.
-
Ok thanks :)