summaryrefslogtreecommitdiff
path: root/src/modules/m_nonicks.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_nonicks.cpp')
-rw-r--r--src/modules/m_nonicks.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/modules/m_nonicks.cpp b/src/modules/m_nonicks.cpp
index c2b18b49b..f14114857 100644
--- a/src/modules/m_nonicks.cpp
+++ b/src/modules/m_nonicks.cpp
@@ -48,6 +48,11 @@ class ModuleNoNickChange : public Module
return Version(1,0,0,1,VF_STATIC|VF_VENDOR);
}
+ void Implements(char* List)
+ {
+ List[I_On005Numeric] = List[I_OnUserPreNick] = List[I_OnExtendedMode] = 1;
+ }
+
virtual void On005Numeric(std::string &output)
{
std::stringstream line(output);