summaryrefslogtreecommitdiff
path: root/src/modules/m_randquote.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_randquote.cpp')
-rw-r--r--src/modules/m_randquote.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/modules/m_randquote.cpp b/src/modules/m_randquote.cpp
index c9ffd42a9..1bb28583e 100644
--- a/src/modules/m_randquote.cpp
+++ b/src/modules/m_randquote.cpp
@@ -38,9 +38,6 @@ class ModuleRandQuote : public Module
suffix = conf->getString("suffix");
FileReader reader(conf->getString("file", "quotes"));
quotes = reader.GetVector();
-
- Implementation eventlist[] = { I_OnUserConnect };
- ServerInstance->Modules->Attach(eventlist, this, sizeof(eventlist)/sizeof(Implementation));
}
void OnUserConnect(LocalUser* user) CXX11_OVERRIDE