summaryrefslogtreecommitdiff
path: root/src/modules/m_silence.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-02-07 17:03:15 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-02-07 17:03:15 +0000
commit0b34769b9e3b9e823763cfd8bf3e2d64c2426710 (patch)
tree177b1a11f15c3fea8a9c72cd79b99c114d4defb3 /src/modules/m_silence.cpp
parentcb233b72f5d14993dc3fc8fea3dae246c2454c1e (diff)
Fix for bug #205 reported by nenolod (modules that erroneously check remote users to apply privmsg/notice restrictions)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6532 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_silence.cpp')
-rw-r--r--src/modules/m_silence.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_silence.cpp b/src/modules/m_silence.cpp
index 7dcb94787..2bc58821d 100644
--- a/src/modules/m_silence.cpp
+++ b/src/modules/m_silence.cpp
@@ -167,7 +167,7 @@ class ModuleSilence : public Module
// privmsgs from people on the silence list, directed privately at the user.
// channel messages are unaffected (ever tried to follow the flow of conversation in
// a channel when you've set an ignore on the two most talkative people?)
- if (target_type == TYPE_USER)
+ if ((target_type == TYPE_USER) && (IS_LOCAL(user)))
{
userrec* u = (userrec*)dest;
silencelist* sl;