X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fmodules%2Fm_spanningtree%2Flink.h;h=b318c9bf2d65b2ab3ad564db5bdb00cfa45eb316;hb=3624c137a6db85eaab0372550c9dca79d6d21e55;hp=4845698921ab9760f1d3332a53e000ef74303426;hpb=4fca1ffbc43dd0eda8e6df665dac0fa83512daf8;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/src/modules/m_spanningtree/link.h b/src/modules/m_spanningtree/link.h index 484569892..b318c9bf2 100644 --- a/src/modules/m_spanningtree/link.h +++ b/src/modules/m_spanningtree/link.h @@ -1,18 +1,24 @@ -/* +------------------------------------+ - * | Inspire Internet Relay Chat Daemon | - * +------------------------------------+ +/* + * InspIRCd -- Internet Relay Chat Daemon * - * InspIRCd: (C) 2002-2009 InspIRCd Development Team - * See: http://wiki.inspircd.org/Credits + * Copyright (C) 2007 Dennis Friis + * Copyright (C) 2007 Craig Edwards * - * This program is free but copyrighted software; see - * the file COPYING for details. + * 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 + * License as published by the Free Software Foundation, version 2. * - * --------------------------------------------------- + * This program is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS + * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more + * details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . */ -#ifndef __LINK_H__ -#define __LINK_H__ + +#pragma once class Link : public refcountbase { @@ -30,7 +36,7 @@ class Link : public refcountbase int Timeout; std::string Bind; bool Hidden; - Link(ConfigTag* Tag) : tag(tag) {} + Link(ConfigTag* Tag) : tag(Tag) {} }; class Autoconnect : public refcountbase @@ -42,8 +48,5 @@ class Autoconnect : public refcountbase time_t NextConnectTime; /** Negative == inactive */ int position; - Autoconnect(ConfigTag* Tag) : tag(tag) {} + Autoconnect(ConfigTag* Tag) : tag(Tag) {} }; - - -#endif