From 6f6c3af87347e2470528933db8385d9a984fc9ee Mon Sep 17 00:00:00 2001 From: "Emilio A. Escobar" Date: Fri, 4 Oct 2024 09:49:15 -0700 Subject: [PATCH] Remove oper-only restriction on userip --- src/s_user.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/s_user.c b/src/s_user.c index 848b4e54..9ba1161a 100644 --- a/src/s_user.c +++ b/src/s_user.c @@ -3203,11 +3203,6 @@ m_userip(aClient *cptr, aClient *sptr, int parc, char *parv[]) aClient *acptr; int i, len, res = 0; - if(!IsAnOper(sptr)) - { - sendto_one(sptr, err_str(ERR_NOPRIVILEGES), me.name, parv[0]); - return 0; - } ircsprintf(buf, rpl_str(RPL_USERHOST), me.name, parv[0]); len = strlen(buf);