about summary refs log tree commit diff
path: root/doc/sample-ngircd.conf
diff options
context:
space:
mode:
authorAlexander Barton <alex@barton.de>2010-02-11 00:01:53 +0100
committerAlexander Barton <alex@barton.de>2010-02-11 00:01:53 +0100
commit6e8cf51bb216f956e7a6fdb5c61b0f2799bf8d2d (patch)
tree6cef12371bad8a48d611f9731685ee658228de0a /doc/sample-ngircd.conf
parent53fc0ebff6fe09bb6a3ae3b134647b3499fc6618 (diff)
downloadngircd-6e8cf51bb216f956e7a6fdb5c61b0f2799bf8d2d.tar.gz
ngircd-6e8cf51bb216f956e7a6fdb5c61b0f2799bf8d2d.zip
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).
Diffstat (limited to 'doc/sample-ngircd.conf')
-rw-r--r--doc/sample-ngircd.conf8
1 files changed, 7 insertions, 1 deletions
diff --git a/doc/sample-ngircd.conf b/doc/sample-ngircd.conf
index b945224e..db326c98 100644
--- a/doc/sample-ngircd.conf
+++ b/doc/sample-ngircd.conf
@@ -28,9 +28,15 @@
 	# LINKS requests for example.
 	Info = Server Info Text
 
-	# Global password for all users needed to connect to the server
+	# Global password for all users needed to connect to the server.
+	# (Default: not set)
 	;Password = abc
 
+	# Password required for using the WEBIRC command used by some
+	# Web-to-IRC gateways. If not set/empty, the WEBIRC command can't
+	# be used. (Default: not set)
+	;WebircPassword = xyz
+
 	# Information about the server and the administrator, used by the
 	# ADMIN command. Not required by server but by RFC!
 	;AdminInfo1 = Description