X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=include%2Fbancache.h;h=a7aac7f17c8ed0e72beef72f4562b74243a6ea76;hb=e6601069038c35c546fd3f3dce95024b0d13f1b4;hp=f143d51ebf7fbe6150d2e6d87cbd78d67fc57d14;hpb=f3e45bfb0e74d431fcb4a2fcd0c024f73f73e7c2;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/include/bancache.h b/include/bancache.h index f143d51eb..a7aac7f17 100644 --- a/include/bancache.h +++ b/include/bancache.h @@ -1,18 +1,25 @@ -/* +------------------------------------+ - * | 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) 2008 Craig Edwards + * Copyright (C) 2007 Robin Burchell * - * 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 __BANCACHE_H -#define __BANCACHE_H + +#ifndef BANCACHE_H +#define BANCACHE_H /** Stores a cached ban entry. * Each ban has one of these hashed in a hash_map to make for faster removal @@ -58,11 +65,7 @@ class CoreExport BanCacheHit /* A container of ban cache items. * must be defined after class BanCacheHit. */ -#if defined(WINDOWS) && !defined(HASHMAP_DEPRECATED) -typedef nspace::hash_map > > BanCacheHash; -#else typedef nspace::hash_map > BanCacheHash; -#endif /** A manager for ban cache, which allocates and deallocates and checks cached bans. */