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:
@@ -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' */
|
||||
|
||||
Reference in New Issue
Block a user