2008-03-21 19:42:08 +00:00
|
|
|
/* +------------------------------------+
|
|
|
|
* | Inspire Internet Relay Chat Daemon |
|
|
|
|
* +------------------------------------+
|
|
|
|
*
|
2009-01-02 18:16:05 +00:00
|
|
|
* InspIRCd: (C) 2002-2009 InspIRCd Development Team
|
2009-03-15 12:42:35 +00:00
|
|
|
* See: http://wiki.inspircd.org/Credits
|
2008-03-21 19:42:08 +00:00
|
|
|
*
|
|
|
|
* This program is free but copyrighted software; see
|
|
|
|
* the file COPYING for details.
|
|
|
|
*
|
|
|
|
* ---------------------------------------------------
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __ACCOUNT_H__
|
|
|
|
#define __ACCOUNT_H__
|
|
|
|
|
|
|
|
#include <map>
|
|
|
|
#include <string>
|
|
|
|
|
2009-10-08 23:29:21 +00:00
|
|
|
class AccountEvent : public Event
|
2008-03-21 19:42:08 +00:00
|
|
|
{
|
|
|
|
public:
|
2009-10-08 23:29:21 +00:00
|
|
|
User* const user;
|
|
|
|
const std::string account;
|
|
|
|
AccountEvent(Module* me, User* u, const std::string& name)
|
|
|
|
: Event(me, "account_login"), user(u), account(name)
|
|
|
|
{
|
|
|
|
}
|
2008-03-21 19:42:08 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|