diff options
author | Attila Molnar <attilamolnar@hush.com> | 2014-01-05 14:17:12 +0100 |
---|---|---|
committer | Attila Molnar <attilamolnar@hush.com> | 2014-01-05 14:17:12 +0100 |
commit | d736eba00b274c87662bd73a3acf8288135643d6 (patch) | |
tree | 7a23e24f95e6f5b26610d83957a4198bf5f16ed0 /src/users.cpp | |
parent | a500ec70bb82151c8fcf7443b4645640233952e8 (diff) |
Improve UserManager::QuitUser() and related code
- Make operreason optional; NULL means same as quitreason
- Remove User::quietquit, it is now handled internally in spanningtree
- Send snotice about quitting remote users from spanningtree
Diffstat (limited to 'src/users.cpp')
-rw-r--r-- | src/users.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/users.cpp b/src/users.cpp index 39a717190..fa4bb7a42 100644 --- a/src/users.cpp +++ b/src/users.cpp @@ -75,7 +75,7 @@ User::User(const std::string &uid, const std::string& sid, int type) age = ServerInstance->Time(); signon = 0; registered = 0; - quietquit = quitting = false; + quitting = false; client_sa.sa.sa_family = AF_UNSPEC; ServerInstance->Logs->Log("USERS", LOG_DEBUG, "New UUID for user: %s", uuid.c_str()); |