mirror of
https://github.com/unrealircd/unrealircd.git
synced 2026-07-09 12:43:13 +02:00
- Don't show silence list to others
This commit is contained in:
@@ -1410,3 +1410,4 @@
|
||||
- Added donators since 3.2.5
|
||||
- Setting set::pingpong-warning didn't work, reported by vonitsanet, patch supplied by
|
||||
avb (#0003131).
|
||||
- Don't show silence list to others
|
||||
|
||||
@@ -103,7 +103,7 @@ DLLFUNC CMD_FUNC(m_silence)
|
||||
if (parc < 2 || *parv[1] == '\0'
|
||||
|| (acptr = find_person(parv[1], NULL)))
|
||||
{
|
||||
if (!(acptr->user))
|
||||
if (acptr != sptr)
|
||||
return 0;
|
||||
for (lp = acptr->user->silence; lp; lp = lp->next)
|
||||
sendto_one(sptr, rpl_str(RPL_SILELIST), me.name,
|
||||
|
||||
Reference in New Issue
Block a user