Anope IRC Services

Please login or register.

Login with username, password and session length
Advanced search  

News:

Pages: [1]   Go Down

Author Topic: EVENT_CHAN_KICK  (Read 5195 times)

0 Members and 1 Guest are viewing this topic.

Jens Voss

  • Team
  • *
  • Offline Offline
  • Posts: 125
EVENT_CHAN_KICK
« 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 :-)
Logged

katsklaw

  • Guest
Re: EVENT_CHAN_KICK
« Reply #1 on: February 10, 2009, 02:19:29 AM »

agreed.
Logged
Pages: [1]   Go Up