Skip to content

Commit 6f6c3af

Browse files
committed
Remove oper-only restriction on userip
1 parent b80ef63 commit 6f6c3af

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/s_user.c

-5
Original file line numberDiff line numberDiff line change
@@ -3203,11 +3203,6 @@ m_userip(aClient *cptr, aClient *sptr, int parc, char *parv[])
32033203
aClient *acptr;
32043204
int i, len, res = 0;
32053205

3206-
if(!IsAnOper(sptr))
3207-
{
3208-
sendto_one(sptr, err_str(ERR_NOPRIVILEGES), me.name, parv[0]);
3209-
return 0;
3210-
}
32113206
ircsprintf(buf, rpl_str(RPL_USERHOST), me.name, parv[0]);
32123207
len = strlen(buf);
32133208

0 commit comments

Comments
 (0)