diff options
Diffstat (limited to 'src/modules/m_silence_ext.cpp')
-rw-r--r-- | src/modules/m_silence_ext.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/modules/m_silence_ext.cpp b/src/modules/m_silence_ext.cpp index 12727bc86..122016dbc 100644 --- a/src/modules/m_silence_ext.cpp +++ b/src/modules/m_silence_ext.cpp @@ -305,6 +305,9 @@ class ModuleSilence : public Module virtual int PreText(userrec* user,void* dest,int target_type, std::string &text, char status, CUList &exempt_list, int silence_type) { + if (!IS_LOCAL(user)) + return 0; + if (target_type == TYPE_USER) { return MatchPattern((userrec*)dest, user, silence_type); |