Author: Bleep <tomh@inxpress.net>
authorBleep <twhelvey1@home.com>
Wed, 22 Mar 2000 04:43:59 +0000 (04:43 +0000)
committerBleep <twhelvey1@home.com>
Wed, 22 Mar 2000 04:43:59 +0000 (04:43 +0000)
Log message:
Misc changes, tweak numnick generator, add docu.

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@47 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

ChangeLog
doc/rfc1459.unet
ircd/numnicks.c

index 5aa40508cb04680e8507ff7e819c37fa5bc9f0c0..5415d26896cbd2927df768ba1da506a6fdb24619 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,11 +1,14 @@
 #
 # ChangeLog for ircu2.10.11
 #
-# $Id: ChangeLog,v 1.19 2000-03-22 00:50:12 kev Exp $
+# $Id: ChangeLog,v 1.20 2000-03-22 04:43:59 bleep Exp $
 #
 # Insert new changes at beginning of the change list.
 #
 #-----------------------------------------------------------------------------
+2000-03-22 Thomas Helvey <tomh@inxpress.net>
+  * numicks.c: Tweak to numnick generator to reduce possibility of duplicates.
+  * rfc1459.unet: Add Maniac's documentation for /names 0
 * Fix misc. jupe bugs that somehow made it into the tree
 * Escape /names 0 to mean /names --Maniac
 * Don't core when server asks for info --Maniac 
index 98fe3dd97819d7912542024f06e1d38ffe443195..4e04b29c22fa14adf4501b650f5186251ba35283 100644 (file)
@@ -1328,6 +1328,7 @@ RFC 1459              Internet Relay Chat Protocol              May 1993
    Numerics:
 
            RPL_NAMREPLY                    RPL_ENDOFNAMES
+           ERR_NEEDMOREPARAMS
 
    Examples:
 
@@ -1335,7 +1336,10 @@ RFC 1459              Internet Relay Chat Protocol              May 1993
                                    and #42 if the channels are visible to
                                    you.
 
-   NAMES                           ; list all visible channels and users
+   NAMES 0                         ; list all visible channels and users
+
+   NAMES                           ; does nothing because of the amount
+                                   of users that would do it by accident
 
 4.2.6 List message
 
index 29ec2607093344ec17949363cf2733c3fdf8cf3b..551de811483856236f5c9e29ec2654da511b93c9 100644 (file)
@@ -357,6 +357,8 @@ void SetLocalNumNick(struct Client *cptr)
 #else
   inttobase64(cptr->yxx, last_nn, 2);
 #endif
+  if (++last_nn == capacity)
+    last_nn = 0;
 }
 
 /*