Fix SF#1701346 by taking weibe's suggestion action (making SETTIME consistent with...
authorMichael Poole <mdpoole@troilus.org>
Sun, 20 May 2007 13:50:38 +0000 (13:50 +0000)
committerMichael Poole <mdpoole@troilus.org>
Sun, 20 May 2007 13:50:38 +0000 (13:50 +0000)
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/branches/u2_10_12_branch@1806 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

ChangeLog
ircd/parse.c

index d48d09584df3c450ce26a7eb97ec3e6f9357bf65..5cecbbff2aa1fb895c93f20cb3340c71fb365149 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2007-05-20  Michael Poole <mdpoole@troilus.org>
+
+       * 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 <mdpoole@troilus.org>
 
        * ircd/ircd_parser.y (pseudoblock): Forbid pseudo commands that
index 692433b94c923bd5e579d0980e411323dfc0bd33..d90c5192c0b66494827bf6788325404d037ba67a 100644 (file)
@@ -391,7 +391,7 @@ struct Message msgtab[] = {
     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,