From 3b767d57751253afc10cb35d01e1c4e82468ccf2 Mon Sep 17 00:00:00 2001 From: Maxim Mamontov Date: Sat, 12 Nov 2016 21:12:56 -0500 Subject: [PATCH] Fix passing params to OnDisconnect in rscriptd. --- projects/rscriptd/listener.cpp | 1 + 1 file changed, 1 insertion(+) 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); } -- 2.44.2