]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_spanningtree/link.h
Only assign NewServices once the duplicate check is done.
[user/henk/code/inspircd.git] / src / modules / m_spanningtree / link.h
index 21213fb3e9e490a20253e032dd56d3595752d7de..0591daf186b5e6e8dba09e3b4904330ea281cf9d 100644 (file)
@@ -1,8 +1,14 @@
 /*
  * InspIRCd -- Internet Relay Chat Daemon
  *
+ *   Copyright (C) 2016 Attila Molnar <attilamolnar@hush.com>
+ *   Copyright (C) 2013, 2017-2018 Sadie Powell <sadie@witchery.services>
+ *   Copyright (C) 2013 Adam <Adam@anope.org>
+ *   Copyright (C) 2012 Robby <robby@chatbelgie.be>
+ *   Copyright (C) 2009 Uli Schlachter <psychon@inspircd.org>
+ *   Copyright (C) 2009 Daniel De Graaf <danieldg@inspircd.org>
+ *   Copyright (C) 2007, 2010 Craig Edwards <brain@inspircd.org>
  *   Copyright (C) 2007 Dennis Friis <peavey@inspircd.org>
- *   Copyright (C) 2007 Craig Edwards <craigedwards@brainbox.cc>
  *
  * 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
@@ -24,16 +30,16 @@ class Link : public refcountbase
 {
  public:
        reference<ConfigTag> tag;
-       irc::string Name;
+       std::string Name;
        std::string IPAddr;
-       int Port;
+       unsigned int Port;
        std::string SendPass;
        std::string RecvPass;
        std::string Fingerprint;
        std::vector<std::string> AllowMasks;
        bool HiddenFromStats;
        std::string Hook;
-       int Timeout;
+       unsigned int Timeout;
        std::string Bind;
        bool Hidden;
        Link(ConfigTag* Tag) : tag(Tag) {}