aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/m_cgiirc.cpp
diff options
context:
space:
mode:
authorGravatar Daniel De Graaf2010-08-11 14:54:18 -0400
committerGravatar Daniel De Graaf2010-08-11 14:54:18 -0400
commit340d0c01b6754f3e5ed3f5624b762ab4eed4fde2 (patch)
tree421ef2f73e3c16c670ef52ceaa00ae85e3f0cbbe /src/modules/m_cgiirc.cpp
parentDecrease nick change fakelag penalty to match 2.0 (diff)
Quick fix for cgiirc notify bug
Diffstat (limited to 'src/modules/m_cgiirc.cpp')
-rw-r--r--src/modules/m_cgiirc.cpp4
1 files changed, 2 insertions, 2 deletions
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<CGIhost> 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";