diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-11-10 21:36:55 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-11-10 21:36:55 +0000 |
commit | 9ac48dcd5707d989c5a2795ba5040210db1a705a (patch) | |
tree | d16424a081a404269aca52efa445ca8c0cb9f566 | |
parent | c087c227040f6261ad0cc2f3d4bd149263619561 (diff) |
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
-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); |