aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Sadie Powell2022-09-18 21:15:34 +0100
committerGravatar Sadie Powell2022-09-18 21:15:34 +0100
commit72802fac3fd7530823934075ce31d09a5b16c44a (patch)
treee67113ffe0d1034097fd5fad204491c85f899a18
parentSend ERR_NONICKNAMEGIVEN when an empty nick is given in WHOIS/WHOWAS. (diff)
Fix not adding tags when converting a Numeric to a Message.
-rw-r--r--include/clientprotocolmsg.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/clientprotocolmsg.h b/include/clientprotocolmsg.h
index 987c14415..1962674af 100644
--- a/include/clientprotocolmsg.h
+++ b/include/clientprotocolmsg.h
@@ -57,6 +57,7 @@ class ClientProtocol::Messages::Numeric : public ClientProtocol::Message
void InitFromNumeric(const ::Numeric::Numeric& numeric)
{
+ AddTags(numeric.GetParams().GetTags());
InitCommand(numeric.GetNumeric());
for (std::vector<std::string>::const_iterator i = numeric.GetParams().begin(); i != numeric.GetParams().end(); ++i)
PushParamRef(*i);