summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/modules/m_filter.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/modules/m_filter.h b/src/modules/m_filter.h
index ef69358f2..c7779e4e6 100644
--- a/src/modules/m_filter.h
+++ b/src/modules/m_filter.h
@@ -175,6 +175,10 @@ 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))
+ return 0;
+
FilterResult* f = this->FilterMatch(text);
if (f)
{