From e630ab24899b4f59fba9d96b301faf82ded9370e Mon Sep 17 00:00:00 2001 From: Michael Poole Date: Sun, 20 May 2007 13:50:38 +0000 Subject: [PATCH] Fix SF#1701346 by taking weibe's suggestion action (making SETTIME consistent with all other oper commands). git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/branches/u2_10_12_branch@1806 c9e4aea6-c8fd-4c43-8297-357d70d61c8c --- ChangeLog | 5 +++++ ircd/parse.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index d48d095..5cecbbf 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2007-05-20 Michael Poole + + * 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 * ircd/ircd_parser.y (pseudoblock): Forbid pseudo commands that diff --git a/ircd/parse.c b/ircd/parse.c index 692433b..d90c519 100644 --- a/ircd/parse.c +++ b/ircd/parse.c @@ -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, -- 2.20.1