From 924e0a887f87ce531bc5bd26cb55e410b7303383 Mon Sep 17 00:00:00 2001 From: Thorbjørn Lindeijer Date: Sun, 4 Oct 2009 22:28:19 +0200 Subject: Introduced Net::LoginHandler::SetEmailOnRegister This "optional action" specifies whether the server expects to get an email address during registration. It is used now instead of having the general handlers of eAthena and tmwserv set a pointer to an email string on the GUI dialogs (to keep things understandable, the dependency should preferably go one way). --- src/net/loginhandler.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/net/loginhandler.h') diff --git a/src/net/loginhandler.h b/src/net/loginhandler.h index e4f8c767..e5a34382 100644 --- a/src/net/loginhandler.h +++ b/src/net/loginhandler.h @@ -36,8 +36,9 @@ class LoginHandler { public: enum OptionalAction { - Unregister = 0x1, - ChangeEmail = 0x2 + Unregister = 0x1, + ChangeEmail = 0x2, + SetEmailOnRegister = 0x4 }; virtual void setServer(const ServerInfo &server) -- cgit v1.2.3-60-g2f50