summaryrefslogtreecommitdiff
path: root/src/modules/m_rline.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_rline.cpp')
-rw-r--r--src/modules/m_rline.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_rline.cpp b/src/modules/m_rline.cpp
index 5790a6a27..22e8b84eb 100644
--- a/src/modules/m_rline.cpp
+++ b/src/modules/m_rline.cpp
@@ -231,7 +231,7 @@ class ModuleRLine : public Module
{
OnRehash(NULL);
- ServerInstance->AddCommand(&r);
+ ServerInstance->Modules->AddService(r);
ServerInstance->XLines->RegisterFactory(&f);
Implementation eventlist[] = { I_OnUserConnect, I_OnRehash, I_OnUserPostNick, I_OnStats, I_OnBackgroundTimer };