X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fmodules%2Faccount.h;h=8f4631cc8d41dff2dfadca3c68937e2c49e43dfe;hb=f5c631ef8641db6455bed23c02e5a39f63f7d6d0;hp=9182d7ca6c3b254ea66a1a5f739ede8a8d241b56;hpb=7e843c22e16c81054bad18073d24fe1a07026431;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/src/modules/account.h b/src/modules/account.h index 9182d7ca6..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 @@ -28,4 +28,11 @@ class AccountEvent : public Event } }; +typedef StringExtItem AccountExtItem; + +inline AccountExtItem* GetAccountExtItem() +{ + return static_cast(ServerInstance->Extensions.GetItem("accountname")); +} + #endif