summaryrefslogtreecommitdiff
path: root/src/users.cpp
diff options
context:
space:
mode:
authorAttila Molnar <attilamolnar@hush.com>2014-01-05 14:17:12 +0100
committerAttila Molnar <attilamolnar@hush.com>2014-01-05 14:17:12 +0100
commitd736eba00b274c87662bd73a3acf8288135643d6 (patch)
tree7a23e24f95e6f5b26610d83957a4198bf5f16ed0 /src/users.cpp
parenta500ec70bb82151c8fcf7443b4645640233952e8 (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.cpp2
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());