diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-02-22 20:57:29 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-02-22 20:57:29 +0000 |
commit | e5cd13921593cba8617fddebbcbde029f54dfa65 (patch) | |
tree | f1bff305021e8b8bc8aa967732e58b45b66ff9b0 /src/modules | |
parent | abeaa35bc2d9b4a3278ab02a4355cb422a129fa9 (diff) |
SAFELIST 005 token is now part of m_safelist not the core 005
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3292 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules')
-rw-r--r-- | src/modules/m_safelist.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/modules/m_safelist.cpp b/src/modules/m_safelist.cpp index 73e7d34f0..afa77c131 100644 --- a/src/modules/m_safelist.cpp +++ b/src/modules/m_safelist.cpp @@ -62,7 +62,7 @@ class ModuleSafeList : public Module void Implements(char* List) { - List[I_OnPreCommand] = List[I_OnBackgroundTimer] = List[I_OnCleanup] = List[I_OnUserQuit] = 1; + List[I_OnPreCommand] = List[I_OnBackgroundTimer] = List[I_OnCleanup] = List[I_OnUserQuit] = List[I_On005Numeric] = 1; } /* @@ -224,6 +224,11 @@ class ModuleSafeList : public Module } } + virtual void On005Numeric(std::string &output) + { + output.append(" SAFELIST"); + } + virtual void OnUserQuit(userrec* user, std::string message) { this->OnCleanup(TYPE_USER,user); |