From 9ac48dcd5707d989c5a2795ba5040210db1a705a Mon Sep 17 00:00:00 2001 From: brain Date: Fri, 10 Nov 2006 21:36:55 +0000 Subject: Also dont try and filter remote users. This is ick. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5681 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_filter.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit v1.2.3