X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fmodules%2Faccount.h;h=8f4631cc8d41dff2dfadca3c68937e2c49e43dfe;hb=f5c631ef8641db6455bed23c02e5a39f63f7d6d0;hp=a5cc4959151d1590b61b93c63e962ccea76d1322;hpb=e80a1296a096ff2c495b3cd2a3913d5e5f6ec450;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/src/modules/account.h b/src/modules/account.h index a5cc49591..8f4631cc8 100644 --- a/src/modules/account.h +++ b/src/modules/account.h @@ -2,7 +2,7 @@ * | Inspire Internet Relay Chat Daemon | * +------------------------------------+ * - * InspIRCd: (C) 2002-2009 InspIRCd Development Team + * InspIRCd: (C) 2002-2010 InspIRCd Development Team * See: http://wiki.inspircd.org/Credits * * This program is free but copyrighted software; see @@ -30,7 +30,7 @@ class AccountEvent : public Event typedef StringExtItem AccountExtItem; -inline const AccountExtItem* GetAccountExtItem() +inline AccountExtItem* GetAccountExtItem() { return static_cast(ServerInstance->Extensions.GetItem("accountname")); }