Implement WEBIRC command
authorAlexander Barton <alex@barton.de>
Wed, 10 Feb 2010 23:01:53 +0000 (00:01 +0100)
committerAlexander Barton <alex@barton.de>
Wed, 10 Feb 2010 23:01:53 +0000 (00:01 +0100)
commit6e8cf51bb216f956e7a6fdb5c61b0f2799bf8d2d
tree6cef12371bad8a48d611f9731685ee658228de0a
parent53fc0ebff6fe09bb6a3ae3b134647b3499fc6618
Implement WEBIRC command

The WEBIRC command is used by some Web-to-IRC gateways to set the correct
user name and host name of users instead of their own.

Syntax: WEBIRC <password> <username> <hostname> <ip-address>

The <password> must be set using the new configuration variable "WebircPassword" in the [Global] section of ngircd.conf.

Please note that the <ip-address> is currently not used by ngIRCd (we don't store it in the CLIENT structure, only the resolved hostname).
doc/sample-ngircd.conf
man/ngircd.conf.5.tmpl
src/ngircd/conf.c
src/ngircd/conf.h
src/ngircd/conn.c
src/ngircd/irc-login.c
src/ngircd/irc-login.h
src/ngircd/parse.c