summaryrefslogtreecommitdiff
path: root/src/logindata.h
diff options
context:
space:
mode:
authorRogier Polak <rogier.l.a.polak@gmail.com>2007-02-23 19:18:28 +0000
committerRogier Polak <rogier.l.a.polak@gmail.com>2007-02-23 19:18:28 +0000
commit775404c84c3250225d43f10c4a5363e997618cb2 (patch)
tree38393287d1554d8e19471f24bc65525c79efeccb /src/logindata.h
parentfee8461a594770f8ef2bd826868a4ae81270a666 (diff)
downloadmana-775404c84c3250225d43f10c4a5363e997618cb2.tar.gz
mana-775404c84c3250225d43f10c4a5363e997618cb2.tar.bz2
mana-775404c84c3250225d43f10c4a5363e997618cb2.tar.xz
mana-775404c84c3250225d43f10c4a5363e997618cb2.zip
Added unregistering, logout_then_exit, switch_character and switch_accountserver.
Diffstat (limited to 'src/logindata.h')
-rw-r--r--src/logindata.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/logindata.h b/src/logindata.h
index 70b80bb7..f9b520eb 100644
--- a/src/logindata.h
+++ b/src/logindata.h
@@ -37,6 +37,15 @@ struct LoginData
int session_ID2;
bool remember;
+
+ void clear()
+ {
+ username = "";
+ password = "";
+ hostname = "";
+ email = "";
+ port = 0;
+ };
};
#endif