From ba3dd9cedcca2f3cc6781f09410e3cf2cf696e43 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Tue, 10 Nov 2020 23:14:21 +0000 Subject: Convert FOREACH_MOD_CUSTOM to a variadic function. --- src/modules/m_cgiirc.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules/m_cgiirc.cpp') diff --git a/src/modules/m_cgiirc.cpp b/src/modules/m_cgiirc.cpp index 5cc3d4ce6..553e5e427 100644 --- a/src/modules/m_cgiirc.cpp +++ b/src/modules/m_cgiirc.cpp @@ -193,7 +193,7 @@ class CommandWebIRC : public SplitCommand } // Inform modules about the WebIRC attempt. - FOREACH_MOD_CUSTOM(webircevprov, WebIRC::EventListener, OnWebIRCAuth, (user, (hasflags ? &flags : NULL))); + webircevprov.Call(&WebIRC::EventListener::OnWebIRCAuth, user, (hasflags ? &flags : nullptr)); // Set the IP address sent via WEBIRC. We ignore the hostname and lookup // instead do our own DNS lookups because of unreliable gateways. -- cgit v1.3.1-10-gc9f91