Committer  : entrope
CVSROOT    : /cvsroot/undernet-ircu
Module     : ircu2.10
Branch tags: u2_10_12_branch
Commit time: 2007-05-20 13:50:48 UTC

Modified files:
  Tag: u2_10_12_branch
     ircd/parse.c ChangeLog

Log message:

Fix SF#1701346 by taking weibe's suggestion action (making SETTIME consistent 
with all other oper commands).

---------------------- diff included ----------------------
Index: ircu2.10/ChangeLog
diff -u ircu2.10/ChangeLog:1.710.2.184 ircu2.10/ChangeLog:1.710.2.185
--- ircu2.10/ChangeLog:1.710.2.184      Sun May 20 06:42:27 2007
+++ ircu2.10/ChangeLog  Sun May 20 06:50:38 2007
@@ -1,5 +1,10 @@
 2007-05-20  Michael Poole <[EMAIL PROTECTED]>
 
+       * ircd/parse.c (msgtab): Make SETTIME consistent with other
+       oper commands, in using m_not_oper for non-opered clients.
+
+2007-05-20  Michael Poole <[EMAIL PROTECTED]>
+
        * ircd/ircd_parser.y (pseudoblock): Forbid pseudo commands that
        are not all alphabetic characters.
 
Index: ircu2.10/ircd/parse.c
diff -u ircu2.10/ircd/parse.c:1.54 ircu2.10/ircd/parse.c:1.54.2.1
--- ircu2.10/ircd/parse.c:1.54  Mon Sep 26 20:54:46 2005
+++ ircu2.10/ircd/parse.c       Sun May 20 06:50:38 2007
@@ -19,7 +19,7 @@
  */
 /** @file
  * @brief Parse input from IRC clients and other servers.
- * @version $Id: parse.c,v 1.54 2005/09/27 03:54:46 entrope Exp $
+ * @version $Id: parse.c,v 1.54.2.1 2007/05/20 13:50:38 entrope Exp $
  */
 #include "config.h"
 
@@ -391,7 +391,7 @@
     TOK_SETTIME,
     0, MAXPARA, MFLG_SLOW, 0, NULL,
     /* UNREG, CLIENT, SERVER, OPER, SERVICE */
-    { m_unregistered, m_ignore, ms_settime, mo_settime, m_ignore }
+    { m_unregistered, m_not_oper, ms_settime, mo_settime, m_ignore }
   },
   {
     MSG_RPING,
----------------------- End of diff -----------------------
_______________________________________________
Patches mailing list
[email protected]
http://undernet.sbg.org/mailman/listinfo/patches

Reply via email to