From 340d0c01b6754f3e5ed3f5624b762ab4eed4fde2 Mon Sep 17 00:00:00 2001 From: Daniel De Graaf Date: Wed, 11 Aug 2010 14:54:18 -0400 Subject: Quick fix for cgiirc notify bug --- src/modules/m_cgiirc.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/modules/m_cgiirc.cpp') diff --git a/src/modules/m_cgiirc.cpp b/src/modules/m_cgiirc.cpp index 34eb30af3..b9f2fbf05 100644 --- a/src/modules/m_cgiirc.cpp +++ b/src/modules/m_cgiirc.cpp @@ -54,9 +54,9 @@ typedef std::vector CGIHostlist; class CommandWebirc : public Command { CGIHostlist Hosts; - bool notify; + bool& notify; public: - CommandWebirc(InspIRCd* Instance, bool bnotify) : Command(Instance, "WEBIRC", 0, 4, true), notify(bnotify) + CommandWebirc(InspIRCd* Instance, bool& bnotify) : Command(Instance, "WEBIRC", 0, 4, true), notify(bnotify) { this->source = "m_cgiirc.so"; this->syntax = "password client hostname ip"; -- cgit v1.3.1-10-gc9f91