X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fmodules%2Fm_spanningtree%2Fmain.h;h=937e908d3f34421b9331d6c5d11586675885b202;hb=551d687ec6d7ce44be35fae0dd7345fe73c4f63a;hp=735c31049f90f5ca6393c65cb2e19138647c8263;hpb=9ebd9cba72056c5b36696e166826afb981f25ebb;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/src/modules/m_spanningtree/main.h b/src/modules/m_spanningtree/main.h index 735c31049..937e908d3 100644 --- a/src/modules/m_spanningtree/main.h +++ b/src/modules/m_spanningtree/main.h @@ -1,21 +1,29 @@ -/* +------------------------------------+ - * | Inspire Internet Relay Chat Daemon | - * +------------------------------------+ +/* + * InspIRCd -- Internet Relay Chat Daemon * - * InspIRCd: (C) 2002-2010 InspIRCd Development Team - * See: http://wiki.inspircd.org/Credits + * Copyright (C) 2009 Daniel De Graaf + * Copyright (C) 2008 Thomas Stagner + * Copyright (C) 2007-2008 Craig Edwards + * Copyright (C) 2007 Robin Burchell + * Copyright (C) 2007 Dennis Friis * - * 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 M_SPANNINGTREE_MAIN_H -#define M_SPANNINGTREE_MAIN_H + +#pragma once #include "inspircd.h" -#include /** If you make a change which breaks the protocol, increment this. * If you completely change the protocol, completely change the number. @@ -27,7 +35,7 @@ * painful death by pain. You have been warned. */ const long ProtocolVersion = 1202; -const long MinCompatProtocol = 1201; +const long MinCompatProtocol = 1202; /** Forward declarations */ @@ -43,7 +51,7 @@ class Autoconnect; class ModuleSpanningTree : public Module { SpanningTreeCommands* commands; - void RedoConfig(Module* mod); + void LocalMessage(User* user, void* dest, int target_type, const std::string &text, char status, const CUList &exempt_list, const char* message_type); public: SpanningTreeUtilities* Utils; @@ -169,5 +177,3 @@ class ModuleSpanningTree : public Module Version GetVersion(); void Prioritize(); }; - -#endif