From 97ae629f3d00e6b99b11508cef100a200d920212 Mon Sep 17 00:00:00 2001 From: brain Date: Sat, 17 Feb 2007 16:49:51 +0000 Subject: Drop the invalid command generated by the bearbot CTCP TIME check git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6586 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_antibear.cpp | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/modules') diff --git a/src/modules/m_antibear.cpp b/src/modules/m_antibear.cpp index 515030f24..2c0ae79a3 100644 --- a/src/modules/m_antibear.cpp +++ b/src/modules/m_antibear.cpp @@ -56,6 +56,13 @@ class ModuleAntiBear : public Module return 1; } } + else + { + ServerInstance->Log(DEBUG,"Into other part of if, parameters[0]='%s'",parameters[0]); + /* Theyre not registered and the notice is targetted at a server. */ + if ((user->registered != REG_ALL) && (strchr(parameters[0], '.'))) + return 1; + } } return 0; } -- cgit v1.2.3