1
0
mirror of https://github.com/unrealircd/unrealircd.git synced 2026-07-05 02:33:14 +02:00

Fix crash bug in m_whox.

This commit is contained in:
Bram Matthys
2018-09-22 11:38:08 +02:00
parent 24ea77f507
commit 1feeb86cd3
+5 -1
View File
@@ -277,7 +277,11 @@ CMD_FUNC(m_whox)
}
if (!IsOper(sptr))
*umodes = *umodes & UMODE_OPER; /* these are usermodes regular users may search for. just oper now. */
{
/* these are usermodes regular users may search for. just oper now. */
fmt.umodes &= UMODE_OPER;
fmt.noumodes &= UMODE_OPER;
}
}
/* '/who #some_channel' */