inspircd/src/modules/account.h

32 lines
702 B
C
Raw Normal View History

/* +------------------------------------+
* | Inspire Internet Relay Chat Daemon |
* +------------------------------------+
*
* InspIRCd: (C) 2002-2009 InspIRCd Development Team
* See: http://wiki.inspircd.org/Credits
*
* This program is free but copyrighted software; see
* the file COPYING for details.
*
* ---------------------------------------------------
*/
#ifndef __ACCOUNT_H__
#define __ACCOUNT_H__
#include <map>
#include <string>
class AccountEvent : public Event
{
public:
User* const user;
const std::string account;
AccountEvent(Module* me, User* u, const std::string& name)
: Event(me, "account_login"), user(u), account(name)
{
}
};
#endif