Skip to content

Commit

Permalink
Remove oper-only restriction on userip
Browse files Browse the repository at this point in the history
  • Loading branch information
eaescob committed Oct 4, 2024
1 parent b80ef63 commit 6f6c3af
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/s_user.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 6f6c3af

Please sign in to comment.