Anope IRC Services

Anope Development => Feature Requests => Topic started by: Jens Voss on February 08, 2009, 07:05:43 PM

Title: EVENT_CHAN_KICK
Post by: Jens Voss on February 08, 2009, 07:05:43 PM
Quote
EVENT_CHAN_KICK
    Someone has just been kicked from a channel.
    av[0]  The nick of the user that has been kicked.
    av[1]  The channel the user has been kicked from.

could you add following parameters please?

   av[2] Kickmessage
   av[3] the  name of the user who used the /kick command


botserv.c:651:
change send_event(EVENT_CHAN_KICK, 2, user->nick, av[0]);
to: send_event(EVENT_CHAN_KICK, 4, user->nick, av[0], av[1] ? av[1] : " " , source);
(or something like this)

thanks :-)
Title: Re: EVENT_CHAN_KICK
Post by: katsklaw on February 10, 2009, 02:19:29 AM
agreed.