Anope IRC Services

Please login or register.

Login with username, password and session length
Advanced search  

News:

Pages: [1]   Go Down

Author Topic: [module error] cs_limit by Rob  (Read 4529 times)

0 Members and 1 Guest are viewing this topic.

n00bie

  • Anope User
  • Offline Offline
  • Gender: Male
  • Posts: 411
[module error] cs_limit by Rob
« on: July 07, 2006, 09:50:23 AM »

hello anope,

when i was trying to use this very usefull module cs_limit.c ver 0.6 by Rob,

i found that there was an error hooking to one events i.e.
Code: [Select]
hook = createEventHook( EVENT_CHAN_KICK, do_kick_channel);    status += moduleAddEventHook(hook);

so, i look at the docs folder and search for the EVENT_CHAN_KICK events. But it was not included in the events list.

So, i dont know why Rob add this EVENTS on that module. So my question is, "Is EVENT_CHAN_KICK going to be included in the new anope version? or already added"

Thanks and i hope you got my point. Sorry for my english.
Logged
I am always doing things that which I cannot do, in order that I may learn how to do it.

Dave Robson

  • Team
  • *
  • Offline Offline
  • Posts: 357
(No subject)
« Reply #1 on: July 07, 2006, 11:00:16 AM »

Events for channel kicks were added in 1.7.14 (according to Changes, i havnt checked the actual code, but i dont see why Changes would be wrong) :)

--

From the EVENTS doc:

    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.


[Edited on 7-7-2006 by Rob]
Logged

n00bie

  • Anope User
  • Offline Offline
  • Gender: Male
  • Posts: 411
(No subject)
« Reply #2 on: July 07, 2006, 11:54:31 AM »

Hello Rob,

Im so Sorry. It was my total mistake. I am running Anope-1.7.13 on my localhost computer and got the above errors while compiling. However, i loaded the same module on FreeBSD-5.5 with Anope-1.7.14 and it works perfectly fine :D

I learn and compile modules first on my localhost and if it is correct, i used them on the *nix box. So, once again, thanks for making such a useful module and [size=-2]please delete this post if you don't mind[/size] *sigh*
Logged
I am always doing things that which I cannot do, in order that I may learn how to do it.

Charles Kingsley

  • Contributor
  • *
  • Offline Offline
  • Posts: 1405
(No subject)
« Reply #3 on: July 07, 2006, 12:19:21 PM »

Everyone makes mistakes n00bie. Relax :)
Logged
Pages: [1]   Go Up