aboutsummaryrefslogtreecommitdiffstats
path: root/include/clientprotocol.h
diff options
context:
space:
mode:
authorGravatar Sadie Powell2020-11-20 12:49:02 +0000
committerGravatar Sadie Powell2020-11-20 15:45:17 +0000
commit54e0cade5c9ec904bbdc755d8031ed8e22e994f6 (patch)
tree312e579f280e7db2269c3fe754a6c4f423713c0e /include/clientprotocol.h
parentConvert IRCv3::Replies::Reply#Send[IfCap] to variadic functions. (diff)
parentRelease v3.8.1. (diff)
Merge tag 'v3.8.1' into master.
Diffstat (limited to 'include/clientprotocol.h')
-rw-r--r--include/clientprotocol.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/clientprotocol.h b/include/clientprotocol.h
index 91bc0d0b4..777f2a610 100644
--- a/include/clientprotocol.h
+++ b/include/clientprotocol.h
@@ -239,13 +239,15 @@ class ClientProtocol::Message : public ClientProtocol::MessageSource
}
Param(int, const char* s)
- : owned(true)
+ : ptr(NULL)
+ , owned(true)
{
new(str) std::string(s);
}
Param(int, const std::string& s)
- : owned(true)
+ : ptr(NULL)
+ , owned(true)
{
new(str) std::string(s);
}