From: Maxim Mamontov Date: Sun, 13 Nov 2016 02:12:56 +0000 (-0500) Subject: Fix passing params to OnDisconnect in rscriptd. X-Git-Tag: 2.409~37^2~1 X-Git-Url: https://git.stg.codes/stg.git/commitdiff_plain/69f081e9abebde4205aad4dd2d411a299a70fab1 Fix passing params to OnDisconnect in rscriptd. --- diff --git a/projects/rscriptd/listener.cpp b/projects/rscriptd/listener.cpp index cc2a0560..0b626afd 100644 --- a/projects/rscriptd/listener.cpp +++ b/projects/rscriptd/listener.cpp @@ -396,6 +396,7 @@ while (it != pending.end() && count < 256) { printfd(__FILE__, "Disconnect user '%s'\n", it->login.c_str()); // Disconnect existing user + uit->params = it->params; Disconnect(*uit); users.erase(uit); }