1
0
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:
Bram Matthys
2003-04-05 21:26:18 +00:00
parent 629d0d59f7
commit daf80ca716
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -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
View File
@@ -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);