about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAlexander Barton <alex@barton.de>2013-07-18 23:42:00 +0200
committerAlexander Barton <alex@barton.de>2013-07-18 23:42:00 +0200
commit720eb874a9397672de06055947a057db8cf62007 (patch)
treeaf0ff8824b5faa7b9e7032b09fdfc8e538a53fef
parentfa15eb169814c1ca434e49464d6f5d150057ae31 (diff)
downloadngircd-720eb874a9397672de06055947a057db8cf62007.tar.gz
ngircd-720eb874a9397672de06055947a057db8cf62007.zip
Commands.txt: Update description of the "ERROR" command
-rw-r--r--doc/Commands.txt15
1 files changed, 11 insertions, 4 deletions
diff --git a/doc/Commands.txt b/doc/Commands.txt
index 4058f3df..26e37d44 100644
--- a/doc/Commands.txt
+++ b/doc/Commands.txt
@@ -593,11 +593,18 @@ Server Protocol Commands
 - ERROR
 	ERROR [<message> [<> [...]]]
 	.
-	Return an error message to the server. The first parameter, if given,
-	will be logged by the server, all further parameters are silently
-	ignored.
+	Inform a client or a server about an error condition. The first 
+	parameter, if given, is logged by the server receiving the message,
+	all other parameters are silently ignored.
 	.
-	This command is silently ignored on non-server and non-service links.
+	This command is silently ignored on non-server and non-service links
+	and shouldn't be used by regular IRC clients.
+	.
+	The ERROR message is also sent before terminating a regular client
+	connection.
+
+	References:
+	 - RFC 2812, 3.7.4 "Error message"
 
 - METADATA
 	METADATA <target> <key> <value>