summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPeter Powell <petpow@saberuk.com>2019-03-30 11:53:51 +0000
committerPeter Powell <petpow@saberuk.com>2019-03-30 11:53:51 +0000
commitbdded70ac222c997aea8e8fefb029571398c611e (patch)
tree7fc8e45890dd03e63945225b57849871d936bf96 /include
parent180b8b6ab194fd74cb5c64fc3ec0775eb542451a (diff)
Rename OnClientProtocolPopulateTags to OnPopulateTags.
Diffstat (limited to 'include')
-rw-r--r--include/clientprotocol.h2
-rw-r--r--include/modules/ircv3.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/clientprotocol.h b/include/clientprotocol.h
index ec033e166..44896a3a3 100644
--- a/include/clientprotocol.h
+++ b/include/clientprotocol.h
@@ -537,7 +537,7 @@ class ClientProtocol::MessageTagProvider : public Events::ModuleEventListener
* The default implementation does nothing.
* @param msg Message to be populated with tags.
*/
- virtual void OnClientProtocolPopulateTags(ClientProtocol::Message& msg)
+ virtual void OnPopulateTags(ClientProtocol::Message& msg)
{
}
diff --git a/include/modules/ircv3.h b/include/modules/ircv3.h
index 9729e8ed5..ce2b70da7 100644
--- a/include/modules/ircv3.h
+++ b/include/modules/ircv3.h
@@ -75,7 +75,7 @@ class IRCv3::CapTag : public ClientProtocol::MessageTagProvider
return cap.get(user);
}
- void OnClientProtocolPopulateTags(ClientProtocol::Message& msg) CXX11_OVERRIDE
+ void OnPopulateTags(ClientProtocol::Message& msg) CXX11_OVERRIDE
{
T& tag = static_cast<T&>(*this);
const std::string* const val = tag.GetValue(msg);