[cvslog] Module eggdrop1.7: Change committed

cvslog cvs at tsss.org
Sat Dec 1 09:14:01 CST 2001


CVSROOT    : /usr/local/cvsroot
Module     : eggdrop1.7
Commit time: 2001-12-01 15:14:00 UTC
Commited by: Federico Mennite <ite at techmonkeys.org>

Modified files:
     src/tcluser.c

Log message:

adduser wasn't accepting handle parameter without hostmask parameter. Patch by Wcc <will at centerofnowhere.com>

---------------------- diff included ----------------------
Index: eggdrop1.7/src/tcluser.c
diff -u eggdrop1.7/src/tcluser.c:1.28 eggdrop1.7/src/tcluser.c:1.29
--- eggdrop1.7/src/tcluser.c:1.28	Sat Dec  1 08:39:04 2001
+++ eggdrop1.7/src/tcluser.c	Sat Dec  1 09:13:49 2001
@@ -2,7 +2,7 @@
  * tcluser.c -- handles:
  *   Tcl stubs for the user-record-oriented commands
  *
- * $Id: tcluser.c,v 1.28 2001/12/01 14:39:04 ite Exp $
+ * $Id: tcluser.c,v 1.29 2001/12/01 15:13:49 ite Exp $
  */
 /*
  * Copyright (C) 1997 Robey Pointer
@@ -250,7 +250,7 @@
 
 static int tcl_adduser STDVAR
 {
-  BADARGS(3, 3, " handle ?hostmask?");
+  BADARGS(2, 3, " handle ?hostmask?");
   if (strlen(argv[1]) > HANDLEN)
     argv[1][HANDLEN] = 0;
   if ((argv[1][0] == '*') || get_user_by_handle(userlist, argv[1]))
----------------------- End of diff -----------------------



More information about the Changes mailing list