mirror of
https://github.com/unrealircd/unrealircd.git
synced 2026-07-01 18:06:38 +02:00
- Fixed an oper bug with /names on a +s channel (#0000816).
This commit is contained in:
@@ -2007,3 +2007,4 @@ seen. gmtime warning still there
|
||||
- Made throttling use DelListItem and fixed some confusing regarding
|
||||
undeffing of THROTTLING
|
||||
- Fixed a set::modes-on-join bug and fixed an oob read in config parser.
|
||||
- Fixed an oper bug with /names on a +s channel (#0000816).
|
||||
|
||||
+1
-1
@@ -4337,7 +4337,7 @@ CMD_FUNC(m_names)
|
||||
|
||||
chptr = find_channel(para, (aChannel *)NULL);
|
||||
|
||||
if (!chptr || !ShowChannel(sptr, chptr))
|
||||
if (!chptr || (!ShowChannel(sptr, chptr) && !IsAnOper(sptr)))
|
||||
{
|
||||
sendto_one(sptr, rpl_str(RPL_ENDOFNAMES), me.name,
|
||||
parv[0], para);
|
||||
|
||||
Reference in New Issue
Block a user