[cvslog] [CVS] Module eggdrop1.6: Change committed

cvs at eggheads.org cvs at eggheads.org
Mon Mar 8 10:01:26 CST 2010


CVSROOT    : /usr/local/cvsroot
Module     : eggdrop1.6
Commit time: 2010-03-08 16:01:25 UTC
Committer  : Thomas Sader <thommey at gmail.com>

Modified files:
     doc/Changes1.6 src/cmds.c

Log message:

Fixed a bug in checking user priviledges for .chaddr on sharebots.

---------------------- diff included ----------------------
Index: eggdrop1.6/doc/Changes1.6
diff -u eggdrop1.6/doc/Changes1.6:1.69 eggdrop1.6/doc/Changes1.6:1.70
--- eggdrop1.6/doc/Changes1.6:1.69	Mon Mar  8 05:18:07 2010
+++ eggdrop1.6/doc/Changes1.6	Mon Mar  8 10:01:15 2010
@@ -1,4 +1,4 @@
-$Id: Changes1.6,v 1.69 2010/03/08 11:18:07 pseudo Exp $
+$Id: Changes1.6,v 1.70 2010/03/08 16:01:15 thommey Exp $
 
 Eggdrop Changes (since version 1.6.0)
 
@@ -6,6 +6,9 @@
 
 1.6.20 (CVS):
 
+  - Fixed a bug in checking user priviledges for .chaddr on sharebots.
+    Patch by: thommey
+
   - Added a new bind CRON as a crontab-like alternative to bind TIME.
     Fixes Bugzilla Bug # 477 "bind time enhancement"
     Patch by: pseudo
Index: eggdrop1.6/src/cmds.c
diff -u eggdrop1.6/src/cmds.c:1.126 eggdrop1.6/src/cmds.c:1.127
--- eggdrop1.6/src/cmds.c:1.126	Thu Feb 18 07:03:04 2010
+++ eggdrop1.6/src/cmds.c	Mon Mar  8 10:01:15 2010
@@ -3,7 +3,7 @@
  *   commands from a user via dcc
  *   (split in 2, this portion contains no-irc commands)
  *
- * $Id: cmds.c,v 1.126 2010/02/18 13:03:04 pseudo Exp $
+ * $Id: cmds.c,v 1.127 2010/03/08 16:01:15 thommey Exp $
  */
 /*
  * Copyright (C) 1997 Robey Pointer
@@ -962,7 +962,7 @@
     dprintf(idx, "This command is only useful for tandem bots.\n");
     return;
   }
-  if ((bot_flags(u1) & BOT_SHARE) && (!u || !u->flags & USER_OWNER)) {
+  if ((bot_flags(u1) & BOT_SHARE) && (!u || !(u->flags & USER_OWNER))) {
     dprintf(idx, "You can't change a share bot's address.\n");
     return;
   }
----------------------- End of diff -----------------------


More information about the Changes mailing list