From d736eba00b274c87662bd73a3acf8288135643d6 Mon Sep 17 00:00:00 2001 From: Attila Molnar Date: Sun, 5 Jan 2014 14:17:12 +0100 Subject: 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 --- src/users.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/users.cpp') 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()); -- cgit v1.2.3