diff options
| author | 2007-10-31 20:10:29 +0000 | |
|---|---|---|
| committer | 2007-10-31 20:10:29 +0000 | |
| commit | 6c72a0cf588a8df35ceeb2628ca358727a33cfa0 (patch) | |
| tree | ebe71f4e28102e182d1267588ec253e9ac69b778 /src/modules/m_antibear.cpp | |
| parent | Fix up to pass User* (diff) | |
| download | inspircd++-6c72a0cf588a8df35ceeb2628ca358727a33cfa0.tar.gz inspircd++-6c72a0cf588a8df35ceeb2628ca358727a33cfa0.tar.bz2 inspircd++-6c72a0cf588a8df35ceeb2628ca358727a33cfa0.zip | |
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.cpp | 4 |
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 |
