m_stats: Remove outdated comment

This commit is contained in:
Ed Kellett 2020-08-04 14:57:38 +01:00
parent f590bc6cec
commit 7f7a433218
No known key found for this signature in database
GPG key ID: CB9986DEF342FABC

View file

@ -246,9 +246,6 @@ m_stats(struct MsgBuf *msgbuf_p, struct Client *client_p, struct Client *source_
if(cmd->handler != NULL) if(cmd->handler != NULL)
{ {
/* The stats table says what privs are needed, so check --fl_ */ /* The stats table says what privs are needed, so check --fl_ */
/* Called for remote clients and for local opers, so check need_admin
* and need_oper
*/
const char *missing_priv = NULL; const char *missing_priv = NULL;
if(cmd->need_admin && !IsOperAdmin(source_p)) if(cmd->need_admin && !IsOperAdmin(source_p))
missing_priv = "admin"; missing_priv = "admin";