diff options
Diffstat (limited to 'src/modules/m_password_hash.cpp')
-rw-r--r-- | src/modules/m_password_hash.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_password_hash.cpp b/src/modules/m_password_hash.cpp index 5026749aa..98462780b 100644 --- a/src/modules/m_password_hash.cpp +++ b/src/modules/m_password_hash.cpp @@ -89,7 +89,7 @@ class ModuleOperHash : public Module /* Read the config file first */ OnRehash(NULL); - ServerInstance->AddCommand(&cmd); + ServerInstance->Modules->AddService(cmd); Implementation eventlist[] = { I_OnPassCompare }; ServerInstance->Modules->Attach(eventlist, this, sizeof(eventlist)/sizeof(Implementation)); } |