]> arthur.barton.de Git - ngircd.git/commit
Implement user mode "c": receive connect/disconnect NOTICEs
authorAlexander Barton <alex@barton.de>
Sat, 22 May 2010 15:19:24 +0000 (17:19 +0200)
committerAlexander Barton <alex@barton.de>
Thu, 24 Jun 2010 22:33:01 +0000 (00:33 +0200)
commitf76e0a1db689dadfe32f211002248d03416b3982
tree942547866ae77aa0c1b1726bd28665d8f5a6b762
parent51ed74205432036f729d96bf5683ca858aae9f10
Implement user mode "c": receive connect/disconnect NOTICEs

Users having the user mode "c" set receive NOTICE messages on each
new client connection to the local server as well as disconnects.
Only IRC operators (users having the mode "o" set) are allowed to
set the 'c' user mode.

These connect/disconnect messages can be useful for open proxy
scanners -- BOPM (http://wiki.blitzed.org/BOPM) is now functional
with ngIRCd, for example.
src/ngircd/client.c
src/ngircd/defines.h
src/ngircd/irc-login.c
src/ngircd/irc-mode.c