]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_spanningtree/tags.cpp
Add an event provider class for the event/messagetag event.
[user/henk/code/inspircd.git] / src / modules / m_spanningtree / tags.cpp
index 844300705fa43587510dc56f9f7649156b594082..feaa34bca2de337e72b66850a3ed41772028f094 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * InspIRCd -- Internet Relay Chat Daemon
  *
- *   Copyright (C) 2019 Peter Powell <petpow@saberuk.com>
+ *   Copyright (C) 2019 Sadie Powell <sadie@witchery.services>
  *
  * 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
@@ -25,14 +25,14 @@ ServiceTag::ServiceTag(Module* mod)
 {
 }
 
-void ServiceTag::OnPopulateTags(ClientProtocol::Message& msg) CXX11_OVERRIDE
+void ServiceTag::OnPopulateTags(ClientProtocol::Message& msg)
 {
        User* const user = msg.GetSourceUser();
        if (user && user->server->IsULine())
                msg.AddTag("inspircd.org/service", this, "");
 }
 
-bool ServiceTag::ShouldSendTag(LocalUser* user, const ClientProtocol::MessageTagData& tagdata) CXX11_OVERRIDE
+bool ServiceTag::ShouldSendTag(LocalUser* user, const ClientProtocol::MessageTagData& tagdata)
 {
        return ctctagcap.get(user);
 }