diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-02-17 16:49:51 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-02-17 16:49:51 +0000 |
commit | 97ae629f3d00e6b99b11508cef100a200d920212 (patch) | |
tree | 10519cdbf73ba346fabf249904be56fe9a57605c /src | |
parent | ef2c666eef23793fb400a31e45196f1d08169043 (diff) |
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
Diffstat (limited to 'src')
-rw-r--r-- | src/modules/m_antibear.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
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; } |