X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;ds=inline;f=src%2Fclientprotocol.cpp;h=666aa9af6706cd2ebc96807d9569f1a71ba41e2a;hb=e626ceeb3336db66121395b4c4c2a3b37f52032f;hp=212d65d6bef590cebc87b30d70e73948ad94b344;hpb=965c81baee0fb6f46aa788f45742d558f50c8b15;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/src/clientprotocol.cpp b/src/clientprotocol.cpp index 212d65d6b..666aa9af6 100644 --- a/src/clientprotocol.cpp +++ b/src/clientprotocol.cpp @@ -1,7 +1,8 @@ /* * InspIRCd -- Internet Relay Chat Daemon * - * Copyright (C) 2016 Attila Molnar + * Copyright (C) 2018-2020 Sadie Powell + * Copyright (C) 2018 Attila Molnar * * This file is part of InspIRCd. InspIRCd is free software: you can * redistribute it and/or modify it under the terms of the GNU General Public @@ -21,7 +22,7 @@ ClientProtocol::Serializer::Serializer(Module* mod, const char* Name) : DataProvider(mod, std::string("serializer/") + Name) - , evprov(mod, "event/messagetag") + , evprov(mod) { } @@ -63,7 +64,7 @@ const ClientProtocol::SerializedMessage& ClientProtocol::Serializer::SerializeFo if (!msg.msginit_done) { msg.msginit_done = true; - FOREACH_MOD_CUSTOM(evprov, MessageTagProvider, OnClientProtocolPopulateTags, (msg)); + FOREACH_MOD_CUSTOM(evprov, MessageTagProvider, OnPopulateTags, (msg)); } return msg.GetSerialized(Message::SerializedInfo(this, MakeTagWhitelist(user, msg.GetTags()))); }