]> jfr.im git - irc/rqf/shadowircd.git/commit
New custom channel mode API allowing reloading such modules.
authorJilles Tjoelker <redacted>
Wed, 31 Mar 2010 23:16:16 +0000 (01:16 +0200)
committerJilles Tjoelker <redacted>
Wed, 31 Mar 2010 23:16:16 +0000 (01:16 +0200)
commit6795400d0a60f52576c859eedbccf9fb6a0ede13
tree6653142d3e09124281767c2fcd1b00497157d987
parentf968f34f4b36af5d587dd4169c7476a4a264d450
New custom channel mode API allowing reloading such modules.
Additionally, attempting to use too many modes or two times
the same letter is now detected and prevented.

Modules now request that a channel mode be added/orphaned,
instead of ugly manipulation from which that request had
to be guessed.

Slight changes are needed to modules that provide channel modes.
From the old API, one important function has been made static,
the other important function has been renamed, so loading old
modules should fail safely.
extensions/chm_adminonly.c
extensions/chm_operonly.c
extensions/chm_sslonly.c
include/channel.h
include/chmode.h
src/chmode.c
src/ircd.c