]> jfr.im git - solanum.git/commit - ircd/ircd.c
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)
commit19716b9fd628aa55842e13f7996175d0bb276c54
tree98716a3c9c666958c5b5d94cfafcb3a5c9faf6c1
parent4c3f0955bf82689c4e25c07e64f1e29ea5d834b0
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