summaryrefslogtreecommitdiff
path: root/src/modules/extra
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/extra')
-rw-r--r--src/modules/extra/m_httpclienttest.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/extra/m_httpclienttest.cpp b/src/modules/extra/m_httpclienttest.cpp
index 800cd63f5..0a43c4c0a 100644
--- a/src/modules/extra/m_httpclienttest.cpp
+++ b/src/modules/extra/m_httpclienttest.cpp
@@ -20,7 +20,7 @@ public:
virtual void Implements(char* List)
{
- List[I_OnUserJoin] = List[I_OnUserPart] = 1;
+ List[I_OnRequest] = List[I_OnUserJoin] = List[I_OnUserPart] = 1;
}
virtual Version GetVersion()
@@ -36,7 +36,7 @@ public:
std::string nick = user->nick;
// ServerInstance->Log(DEBUG,"User " + nick + " joined " + chan);
- Module* target = ServerInstance->FindModule("m_http_client");
+ Module* target = ServerInstance->FindModule("m_http_client.so");
if(target) {
HTTPClientRequest req(ServerInstance, this, target, "http://znc.in/~psychon");
req.Send();