summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPeter Powell <petpow@saberuk.com>2019-01-22 11:59:44 +0000
committerPeter Powell <petpow@saberuk.com>2019-01-22 12:09:28 +0000
commit965c81baee0fb6f46aa788f45742d558f50c8b15 (patch)
treec618ac452708a1ae88f6a6b552ddcde843517ecd /src
parent0a1f9bc59494a532a91bc9c8afcecb31ece656ee (diff)
Rename OnClientProtocolProcessTag to OnProcessTag.
Diffstat (limited to 'src')
-rw-r--r--src/clientprotocol.cpp2
-rw-r--r--src/modules/m_spanningtree/treesocket2.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/clientprotocol.cpp b/src/clientprotocol.cpp
index a732855a5..212d65d6b 100644
--- a/src/clientprotocol.cpp
+++ b/src/clientprotocol.cpp
@@ -35,7 +35,7 @@ bool ClientProtocol::Serializer::HandleTag(LocalUser* user, const std::string& t
for (::Events::ModuleEventProvider::SubscriberList::const_iterator i = list.begin(); i != list.end(); ++i)
{
MessageTagProvider* const tagprov = static_cast<MessageTagProvider*>(*i);
- const ModResult res = tagprov->OnClientProtocolProcessTag(user, tagname, tagvalue);
+ const ModResult res = tagprov->OnProcessTag(user, tagname, tagvalue);
if (res == MOD_RES_ALLOW)
return tags.insert(std::make_pair(tagname, MessageTagData(tagprov, tagvalue))).second;
else if (res == MOD_RES_DENY)
diff --git a/src/modules/m_spanningtree/treesocket2.cpp b/src/modules/m_spanningtree/treesocket2.cpp
index dc24802fb..45f8a380f 100644
--- a/src/modules/m_spanningtree/treesocket2.cpp
+++ b/src/modules/m_spanningtree/treesocket2.cpp
@@ -292,7 +292,7 @@ void TreeSocket::ProcessTag(User* source, const std::string& tag, ClientProtocol
for (Events::ModuleEventProvider::SubscriberList::const_iterator i = list.begin(); i != list.end(); ++i)
{
ClientProtocol::MessageTagProvider* const tagprov = static_cast<ClientProtocol::MessageTagProvider*>(*i);
- const ModResult res = tagprov->OnClientProtocolProcessTag(source, tagkey, tagval);
+ const ModResult res = tagprov->OnProcessTag(source, tagkey, tagval);
if (res == MOD_RES_ALLOW)
tags.insert(std::make_pair(tagkey, ClientProtocol::MessageTagData(tagprov, tagval)));
else if (res == MOD_RES_DENY)