aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/m_httpd.cpp
diff options
context:
space:
mode:
authorGravatar Adam2013-06-26 17:01:33 -0400
committerGravatar attilamolnar2013-08-04 16:08:57 +0200
commit8710724b5518ae9858309e548514f76e620a8459 (patch)
treecb4efb99580cb8957353848a9dc34d5a83ab172e /src/modules/m_httpd.cpp
parentMerge pull request #590 from SaberUK/master+module-logging (diff)
downloadinspircd++-8710724b5518ae9858309e548514f76e620a8459.tar.gz
inspircd++-8710724b5518ae9858309e548514f76e620a8459.tar.bz2
inspircd++-8710724b5518ae9858309e548514f76e620a8459.zip
Change the syntax of FOREACH macros to be less dumb.
Diffstat (limited to 'src/modules/m_httpd.cpp')
-rw-r--r--src/modules/m_httpd.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_httpd.cpp b/src/modules/m_httpd.cpp
index a04abd5e6..bb5d5c0b0 100644
--- a/src/modules/m_httpd.cpp
+++ b/src/modules/m_httpd.cpp
@@ -63,7 +63,7 @@ class HttpServerSocket : public BufferedSocket
{
InternalState = HTTP_SERVE_WAIT_REQUEST;
- FOREACH_MOD(I_OnHookIO, OnHookIO(this, via));
+ FOREACH_MOD(OnHookIO, (this, via));
if (GetIOHook())
GetIOHook()->OnStreamSocketAccept(this, client, server);
}