summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNat Goodspeed <nat@lindenlab.com>2024-07-18 14:42:26 -0400
committerNat Goodspeed <nat@lindenlab.com>2024-07-18 14:42:26 -0400
commitb79bf898c63d06486c978cbeecbe533e5872b56c (patch)
tree341f6e316b1f3faad00aa088fd7aa62924faae97
parentcd64842e338fb216f0772e371278c56b921f6f87 (diff)
Guarantee that the "login" LLEventPump has exactly that name.
We used to allow "tweaking" the name. Don't.
-rw-r--r--indra/viewer_components/login/lllogin.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/indra/viewer_components/login/lllogin.cpp b/indra/viewer_components/login/lllogin.cpp
index 2a0468f3ad..dfaaff21c5 100644
--- a/indra/viewer_components/login/lllogin.cpp
+++ b/indra/viewer_components/login/lllogin.cpp
@@ -53,7 +53,9 @@ class LLLogin::Impl
{
public:
Impl():
- mPump("login", true) // Create the module's event pump with a tweaked (unique) name.
+ // Create the module's event pump, and do not tweak the name. Multiple
+ // parties depend on this LLEventPump having exactly the name "login".
+ mPump("login", false)
{
mValidAuthResponse["status"] = LLSD();
mValidAuthResponse["errorcode"] = LLSD();