From 41efaa9fd8adbef1a186304f4a02935fcca5fd44 Mon Sep 17 00:00:00 2001 From: Bram Matthys Date: Sat, 2 Dec 2006 23:20:57 +0000 Subject: [PATCH] - Don't show silence list to others --- Changes | 1 + src/modules/m_silence.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Changes b/Changes index 3f2073652..2b8a72ff3 100644 --- a/Changes +++ b/Changes @@ -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 diff --git a/src/modules/m_silence.c b/src/modules/m_silence.c index c1eb1c5c1..7214aac87 100644 --- a/src/modules/m_silence.c +++ b/src/modules/m_silence.c @@ -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,