https://gitlab.synchro.net/main/sbbs/-/commit/82b3374fb06d25637e723c33
Modified Files:
exec/load/presence_lib.js
Log Message:
Fix long-standing issue with external program name displayEspecially for Guest (G-Exempt) accounts which support multipleconcurrent logons - the 'curxtrn' value stored in the user's recordmay not match the external program that was actually last executedon the node in question, so use the .aux property value (fromnode.dab) as is done in the C++ code (e.g. printnodedat()). This insuresthat the node_status() output here matches the C/C++ code output(e.g. when logging on the terminal server).Still support the 'code-based' external program name look-up sincethat usage is relied upon by other modules, but when a number ispassed, use the number to find the right external progarm name(and we need to subtract one, since aux is a 1-based number).I've looked at this problem a couple of times before and not sure whyI didn't see the solution. <shrug>
--- SBBSecho 3.15-Linux
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)