Anope IRC Services

Please login or register.

Login with username, password and session length
Advanced search  

News:

Pages: [1]   Go Down

Author Topic: Unreal 3.2.7 + Channel mode j  (Read 3297 times)

0 Members and 1 Guest are viewing this topic.

Point

  • Anope User
  • Offline Offline
  • Gender: Male
  • Posts: 18
Unreal 3.2.7 + Channel mode j
« on: September 17, 2008, 11:07:20 PM »

I cant mlock mode "j" on unreal ircd 3.2.7 with Anope 1.7.22:

-ChanServ- Unknown mode character j ignored.

Quote
j <joins:sec> = Throttle joins per-user to 'joins' per 'sec' seconds
Logged
Do You Need Help?
Read this first: http://forum.anope.org/index.php?topic=1964.0

katsklaw

  • Guest
Re: Unreal 3.2.7 + Channel mode j
« Reply #1 on: September 17, 2008, 11:42:02 PM »

This is a known issue. To maintain compatibility with older versions of Anope, it will not be fixed until Anope-1.9 devel.
Logged

Point

  • Anope User
  • Offline Offline
  • Gender: Male
  • Posts: 18
Re: Unreal 3.2.7 + Channel mode j
« Reply #2 on: September 18, 2008, 03:42:09 PM »

This is a known issue. To maintain compatibility with older versions of Anope, it will not be fixed until Anope-1.9 devel.

Is possible to be added as a 3rd party module or smth?
Logged
Do You Need Help?
Read this first: http://forum.anope.org/index.php?topic=1964.0

katsklaw

  • Guest
Re: Unreal 3.2.7 + Channel mode j
« Reply #3 on: September 18, 2008, 09:23:31 PM »

Is possible to be added as a 3rd party module or smth?

Possible, yes .. but in my opinion, not worth the time it would take to re-code mlock.
Logged

Trystan Scott Lee

  • Contributor
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 343
Re: Unreal 3.2.7 + Channel mode j
« Reply #4 on: September 19, 2008, 12:26:57 AM »

1. To keep database backwards compatible - it can't be added to the current code thread - this does not mean that a separate db can't be done with modules,

2. do_set_mlock() requires no changes to allow it to mlock. The code is simple enough that it just needs to know what values and how to get them.

3. A copy of set_flood(), cs_set_flood() get_flood() and, cs_get_flood() need to be made that allows for anope to save the j to some where and allow do_set_mlock() to get the information back

4. unreal32.c would have to be modified to add j as a valid value in the CBMode myCbmodes[] and CBModeInfo myCbmodeinfos[] to handle the mode

5. One would also need to modify the *_clear commands to do +j since parameter modes are cleared separately from the mass modes. Less it would be the only mode not removed.

In short that is what you need to do to make it work.

Okay I need to stop looking at code cause if I don't I will rewrite cs_clear.c cause my ocd is kicking in...
Logged
my God my tourniquet, return to me salvation
Pages: [1]   Go Up