Skip to content
Permalink
Browse files Browse the repository at this point in the history
Copy the silence flags when sending update notifications.
This fixes a crash bug in the silence module on some versions of GCC.
  • Loading branch information
SadieCat committed May 17, 2019
1 parent f9a258f commit 7b47de3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/m_silence.cpp
Expand Up @@ -187,7 +187,7 @@ class SilenceMessage : public ClientProtocol::Message
: ClientProtocol::Message("SILENCE")
{
PushParam(mask);
PushParamRef(flags);
PushParam(flags);
}
};

Expand Down

0 comments on commit 7b47de3

Please sign in to comment.