diff options
Diffstat (limited to 'src/modules')
-rw-r--r-- | src/modules/m_filter.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_filter.h b/src/modules/m_filter.h index c7779e4e6..8dd058f2a 100644 --- a/src/modules/m_filter.h +++ b/src/modules/m_filter.h @@ -176,7 +176,7 @@ int FilterBase::OnUserPreMessage(userrec* user,void* dest,int target_type, std:: int FilterBase::OnUserPreNotice(userrec* user,void* dest,int target_type, std::string &text, char status) { /* Leave ulines alone */ - if (ServerInstance->ULine(user->server)) + if ((ServerInstance->ULine(user->server)) || (!IS_LOCAL(user))) return 0; FilterResult* f = this->FilterMatch(text); |