]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_spanningtree/protocolinterface.cpp
Allow enabling the message-tags cap without client-only tags.
[user/henk/code/inspircd.git] / src / modules / m_spanningtree / protocolinterface.cpp
index 9fe93a389d76fa9f2efca920c72be1192dfda20d..aaf946333fcb3a472dfb447ea2b8c257d2b6f598 100644 (file)
@@ -1,8 +1,13 @@
 /*
  * InspIRCd -- Internet Relay Chat Daemon
  *
- *   Copyright (C) 2009 Daniel De Graaf <danieldg@inspircd.org>
- *   Copyright (C) 2008 Craig Edwards <craigedwards@brainbox.cc>
+ *   Copyright (C) 2018-2019 Sadie Powell <sadie@witchery.services>
+ *   Copyright (C) 2018 Matt Schatz <genius3000@g3k.solutions>
+ *   Copyright (C) 2012-2014 Attila Molnar <attilamolnar@hush.com>
+ *   Copyright (C) 2012 Robby <robby@chatbelgie.be>
+ *   Copyright (C) 2009-2010 Daniel De Graaf <danieldg@inspircd.org>
+ *   Copyright (C) 2008 Robin Burchell <robin+git@viroteck.net>
+ *   Copyright (C) 2008 Craig Edwards <brain@inspircd.org>
  *
  * 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
@@ -65,7 +70,7 @@ bool SpanningTreeProtocolInterface::SendEncapsulatedData(const std::string& targ
                        return false;
 
                // Use the SID of the target in the message instead of the server name
-               encap.push(server->GetID()).push(cmd).insert(params).Unicast(server->ServerUser);
+               encap.push(server->GetId()).push(cmd).insert(params).Unicast(server->ServerUser);
        }
 
        return true;