summaryrefslogtreecommitdiff
path: root/src/modules/account.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/account.h')
-rw-r--r--src/modules/account.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/modules/account.h b/src/modules/account.h
index 8b86a178b..9182d7ca6 100644
--- a/src/modules/account.h
+++ b/src/modules/account.h
@@ -17,11 +17,15 @@
#include <map>
#include <string>
-class AccountData : public classbase
+class AccountEvent : public Event
{
public:
- User* user;
- std::string account;
+ 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