summaryrefslogtreecommitdiff
path: root/src/modules/m_antibear.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-10-31 20:10:29 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-10-31 20:10:29 +0000
commit6c72a0cf588a8df35ceeb2628ca358727a33cfa0 (patch)
treeebe71f4e28102e182d1267588ec253e9ac69b778 /src/modules/m_antibear.cpp
parentc45fe6715d51a0b6565fee1321c45645883fa749 (diff)
Make it all compile.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8443 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_antibear.cpp')
-rw-r--r--src/modules/m_antibear.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/modules/m_antibear.cpp b/src/modules/m_antibear.cpp
index 0c65adab3..aecf143ec 100644
--- a/src/modules/m_antibear.cpp
+++ b/src/modules/m_antibear.cpp
@@ -48,10 +48,8 @@ class ModuleAntiBear : public Module
{
ZLine* zl = new ZLine(ServerInstance, ServerInstance->Time(), 86400, ServerInstance->Config->ServerName,
"Unless you're stuck in a time warp, you appear to be a bear bot!", user->GetIPString());
- if (ServerInstance->XLines->AddLine(zl))
+ if (ServerInstance->XLines->AddLine(zl,NULL))
{
- // XXX move events into the xline manager
- FOREACH_MOD(I_OnAddGLine,OnAddZLine(86400, NULL, "Unless you're stuck in a time warp, you appear to be a bear bot!", user->MakeHostIP()));
ServerInstance->XLines->ApplyLines();
}
else