]> arthur.barton.de Git - ngircd-alex.git/commit
Create local &SERVER channel and log server messages to it bug87-LocalChannel
authorAlexander Barton <alex@barton.de>
Mon, 17 Nov 2008 22:27:06 +0000 (23:27 +0100)
committerAlexander Barton <alex@barton.de>
Mon, 17 Nov 2008 22:27:06 +0000 (23:27 +0100)
commit0eda085f1e001cb1f2381ffe3ca70299d32632d3
tree72b113ecff5a02e7c25d9d20e2cb4b50ccb8e1e9
parent2cc21caf32323ebd778c16c8a7b69cd12d6ff01f
Create local &SERVER channel and log server messages to it

ngIRCd now creates a server-local channel &SERVER with channel modes
+mnPt (moderated, no messages from outside the channel, persistent and
with the topic locked) and logs all the messages to it that a user with
mode +s ("server messages") receives.

If an IRC operator withdraws the +P ("persistent") mode and the &SERVER
channel is freed because of no members, nothing special happens. The
channel can be recerated any time later and ngIRCd would begin logging
to it again.
src/ngircd/channel.c
src/ngircd/channel.h
src/ngircd/log.c