repo: ngircd
action: commit
revision: 
path_from: 
revision_from: 1a5e08f3f6d240f865434e9274f01e6f39a704cb:
path_to: 
revision_to: 
git.thebackupbox.net
ngircd
git clone git://git.thebackupbox.net/ngircd
commit 1a5e08f3f6d240f865434e9274f01e6f39a704cb
Author: Alexander Barton 
Date:   Sun Feb 10 00:22:24 2013 +0100

    Commands.txt: Update description of the "NAMES" command

diff --git a/doc/Commands.txt b/doc/Commands.txt
index e92027bbe276b36a051a085e76348e6f4b0ee15d..
index ..e38f03f67147c7d2211fbd2e91db781b49be2655 100644
--- a/doc/Commands.txt
+++ b/doc/Commands.txt
@@ -284,16 +284,23 @@ Status and Informational Commands
 	 - RFC 2812, 3.4.1 "Motd message"

 - NAMES
-	NAMES [ []]
+	NAMES [[,[,...]] []]
 	.
-	Returns a list of who is on the comma-separated list of ,
-	by channel name.
+	Show the list of users that are members of a particular 
+	(and that are visible for the client requesting this information) as
+	seen by the server . More than one  can be given
+	separated by "," (but not whitespaces!).
 	.
-	If  is omitted, all users are shown, grouped by channel name
-	with all users who are not on a channel being shown as part of channel
-	"*".
-	If  is specified, the command is sent to  for
-	evaluation.
+	If  has been omitted, all visible users are shown, grouped
+	by channel name, and all visible users not being members of at least
+	one channel are shown as members of the pseudo channel "*".
+	.
+	 can be a server name, the nickname of a client connected to
+	a specific server, or a mask matching a server name in the network.
+	The server of the current connecion is used when  is omitted.
+
+	References:
+	 - RFC 2812, 3.2.5 "Names message"

 - STATS
 	STATS  []

-----END OF PAGE-----