diff options
| author | 2022-09-18 21:15:34 +0100 | |
|---|---|---|
| committer | 2022-09-18 21:15:34 +0100 | |
| commit | 72802fac3fd7530823934075ce31d09a5b16c44a (patch) | |
| tree | e67113ffe0d1034097fd5fad204491c85f899a18 /include | |
| parent | Send ERR_NONICKNAMEGIVEN when an empty nick is given in WHOIS/WHOWAS. (diff) | |
Fix not adding tags when converting a Numeric to a Message.
Diffstat (limited to 'include')
| -rw-r--r-- | include/clientprotocolmsg.h | 1 |
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); |
