summaryrefslogtreecommitdiff
path: root/src/modules/m_deaf.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_deaf.cpp')
-rw-r--r--src/modules/m_deaf.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_deaf.cpp b/src/modules/m_deaf.cpp
index 2a1449bb4..69fde96f1 100644
--- a/src/modules/m_deaf.cpp
+++ b/src/modules/m_deaf.cpp
@@ -107,7 +107,7 @@ class ModuleDeaf : public Module
virtual int PreText(userrec* user,void* dest,int target_type, std::string &text, char status, CUList &exempt_list)
{
- if (target_type == TYPE_CHANNEL)
+ if ((target_type == TYPE_CHANNEL) & (IS_LOCAL(user)))
{
chanrec* chan = (chanrec*)dest;
if (chan)