diff options
Diffstat (limited to 'src/modules/m_xmlsocket.cpp')
-rw-r--r-- | src/modules/m_xmlsocket.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/modules/m_xmlsocket.cpp b/src/modules/m_xmlsocket.cpp index 6d1e99d31..1fc9d337f 100644 --- a/src/modules/m_xmlsocket.cpp +++ b/src/modules/m_xmlsocket.cpp @@ -26,6 +26,8 @@ class ModuleXMLSocket : public Module : Module(Me) { OnRehash(NULL,""); + Implementation eventlist[] = { I_OnUnloadModule, I_OnRawSocketRead, I_OnRawSocketWrite, I_OnRehash }; + ServerInstance->Modules->Attach(eventlist, this, 4); } virtual void OnRehash(User* user, const std::string ¶m) |