Anope IRC Services

Anope Development => Modules => Topic started by: Spy on February 17, 2006, 02:25:37 PM

Title: [ Request ] NoExpire and additional mlock modes
Post by: Spy on February 17, 2006, 02:25:37 PM
Hello.
1. Under the "NoExpire" command i meant a OperServ command set either on a nick or on a channel to prevent them being dropped from databases with time.
2. Some modules might be added to the ircd adding pretty useful and desired channel modes. But when one tries to mlock the new mode(s), ChanServ refuses to do so stating that such mode is unknown to him. Is there a way to fix this?
Thanks in advance.
Title:
Post by: Dave Robson on February 17, 2006, 05:56:07 PM
1.  /msg nickserv help saset  (assuming you have the saset module loaded)
2.  chanserv isnt told about these new modes added to the ircd, so it cant really try to keep them set.
Title:
Post by: Spy on February 19, 2006, 08:09:37 PM
1. No. Not installed. Where to get it?
2. How to "tell" ChanServ of existing of new modes ?

[Edited on 20-2-2006 by Spy]
Title:
Post by: Dave Robson on February 20, 2006, 07:54:59 AM
you already have it, it comes with anope.  Add it to your .config so it loads at start up, or /msg operserv modload ns_saset.

That would need a module to tell it about the modes added by the ircd module :)
Title:
Post by: Spy on February 20, 2006, 10:37:16 AM
1. Hmm... Is it shipped with Anope 1.6.4? I really can`t find it ;(
2. Thanks. But is there some of those already done to use as a template? I`m no coder yet.
Title:
Post by: Dave Robson on February 20, 2006, 10:50:29 AM
no ns_saset comes with 1.7.x

with 1.6.x you can simply do /msg nickserv set rob noexpire on  (i think that's the syntax, look in /ns help set )

and im not aware of any modules to modify the ircd modes table.  With 1.6.4 it would be.. tricky for a module to do nicely.
Title:
Post by: Spy on February 20, 2006, 11:03:02 AM
Hmm. Are there any major bugs/instabilities in 1.7.x version so I shouldn`t use it?
Title:
Post by: thepitster on February 22, 2006, 12:58:54 AM
IMHO 1.7.x series is way better then the 1.6.x series, more usable stuff and as far as stablility goes its pretty damn stable from what i can see
Title:
Post by: Spy on February 24, 2006, 11:17:10 PM
True. No problems wih noexpire now.
But what to do with the additional chanmode to lock?
Title:
Post by: Trystan Scott Lee on February 25, 2006, 04:53:54 AM
what ircd and what modes?
Title:
Post by: FiXato on February 25, 2006, 01:52:53 PM
Quote
Originally posted by Trystan
what ircd and what modes?

although it isn't my question/topic, I'd personally would like to be able to lock +e and +I on unrealircd3.2.4
Title:
Post by: Spy on February 25, 2006, 04:01:09 PM
unreal 3.2.4
anope 1.7.13
modes:
1. "y"
2. "P" with one of the following possible parametres:
    "N"
    "A"
    "a"
    "C"
    "o"
(in addition to the previous post)
It will be great to have some example of such work for the future :)
Thanks in advance.

[Edited on 25-2-2006 by Spy]
Title:
Post by: Trystan Scott Lee on February 25, 2006, 05:41:52 PM
A, C, N, p already work

[10:26] -ChanServ- Mode lock on channel #test changed to +nprtACN.

a, o are channel status modes they can be set with xop functions

y is not documented as a supported Unreal mode, it is a module mode and since Anope does not support modified ircds you won't see +y any time from the dev team

might be possible in a module, I would have to look to see if one could extend the struct to add new entries

Fixato.. yeah I am looking into it, probably work like /cs ban does now when I am done
Title:
Post by: Spy on February 25, 2006, 06:18:32 PM
Well, +y is a mode gained through a module (m_blocknonalpha) and is very useful.
Title:
Post by: Trystan Scott Lee on February 28, 2006, 03:07:11 AM
FiXato here you go

http://www.nomadinc.net/mymods/files/cs_exception.c
http://www.nomadinc.net/mymods/files/cs_iexception.c

/cs exception #ircops trystan
[19:51] * ChanServ sets mode: +e *!*@is.my.vhost
/cs iexception #ircops trystan
ChanServ sets mode: +I *!*@is.my.vhost