1 /* +------------------------------------+
2 * | Inspire Internet Relay Chat Daemon |
3 * +------------------------------------+
5 * InspIRCd: (C) 2002-2010 InspIRCd Development Team
6 * See: http://wiki.inspircd.org/Credits
8 * This program is free but copyrighted software; see
9 * the file COPYING for details.
11 * ---------------------------------------------------
20 class AccountEvent : public Event
24 const std::string account;
25 AccountEvent(Module* me, User* u, const std::string& name)
26 : Event(me, "account_login"), user(u), account(name)
31 typedef StringExtItem AccountExtItem;
33 inline AccountExtItem* GetAccountExtItem()
35 return static_cast<AccountExtItem*>(ServerInstance->Extensions.GetItem("accountname"));