From: Maxim Mamontov Date: Thu, 1 Sep 2011 13:26:35 +0000 (+0300) Subject: Set "deleted" flag for user before executing notifiers X-Git-Tag: 2.408-alpha~5 X-Git-Url: https://git.stg.codes/stg.git/commitdiff_plain/ab1d6ad7b6563c4c7a8841abae32aad79711f351 Set "deleted" flag for user before executing notifiers --- diff --git a/projects/stargazer/users_impl.cpp b/projects/stargazer/users_impl.cpp index 5ad112b9..fa726560 100644 --- a/projects/stargazer/users_impl.cpp +++ b/projects/stargazer/users_impl.cpp @@ -228,6 +228,8 @@ if (!priv->userAddDel) login.c_str()); return; } + + u->SetDeleted(); } { @@ -252,7 +254,6 @@ if (!priv->userAddDel) STG_LOCKER lock(&mutex, __FILE__, __LINE__); u->OnDelete(); - u->SetDeleted(); USER_TO_DEL utd; utd.iter = u;