summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/modules/m_antibear.cpp7
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;
}