summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Powell <petpow@saberuk.com>2019-05-15 09:37:30 +0100
committerPeter Powell <petpow@saberuk.com>2019-05-17 09:50:54 +0100
commit7b47de3c194f239c5fea09a0e49696c9af017d51 (patch)
tree489adfab54cde5acbcd7c906c9b606dd82aafdca
parentf9a258fa768362279cb5365856fe3f4dce5d6245 (diff)
Copy the silence flags when sending update notifications.
This fixes a crash bug in the silence module on some versions of GCC.
-rw-r--r--src/modules/m_silence.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_silence.cpp b/src/modules/m_silence.cpp
index 01f99ce7e..87b70dfa4 100644
--- a/src/modules/m_silence.cpp
+++ b/src/modules/m_silence.cpp
@@ -187,7 +187,7 @@ class SilenceMessage : public ClientProtocol::Message
: ClientProtocol::Message("SILENCE")
{
PushParam(mask);
- PushParamRef(flags);
+ PushParam(flags);
}
};