diff options
Diffstat (limited to 'src/logindata.h')
-rw-r--r-- | src/logindata.h | 9 |
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 |