X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fmodules%2Faccount.h;h=ba671ba0b29888c031b6d88a67a73051347009cc;hb=a5d110282a864fd2e91b51ce360a977cd0643657;hp=a5cc4959151d1590b61b93c63e962ccea76d1322;hpb=e80a1296a096ff2c495b3cd2a3913d5e5f6ec450;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/src/modules/account.h b/src/modules/account.h index a5cc49591..ba671ba0b 100644 --- a/src/modules/account.h +++ b/src/modules/account.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) 2008 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 __ACCOUNT_H__ -#define __ACCOUNT_H__ + +#ifndef ACCOUNT_H +#define ACCOUNT_H #include #include @@ -30,7 +36,7 @@ class AccountEvent : public Event typedef StringExtItem AccountExtItem; -inline const AccountExtItem* GetAccountExtItem() +inline AccountExtItem* GetAccountExtItem() { return static_cast(ServerInstance->Extensions.GetItem("accountname")); }