mirror of
https://github.com/NuSkooler/enigma-bbs.git
synced 2025-06-06 12:47:13 +02:00
* Message to indicate someone already logged in by username
This commit is contained in:
parent
8d1fac41a9
commit
ab40eb1fd4
1 changed files with 7 additions and 2 deletions
|
@ -46,9 +46,14 @@ function login(callingMenu, formData, extraArgs) {
|
|||
'Already logged in'
|
||||
);
|
||||
|
||||
// :TODO: display message/art/etc.
|
||||
// :TODO: display custom message if present
|
||||
|
||||
client.term.write('\nA user by that name is already logged in.\n');
|
||||
|
||||
setTimeout(function timeout() {
|
||||
client.gotoMenuModule( { name : callingMenu.menuConfig.fallback } );
|
||||
}, 500);
|
||||
|
||||
client.gotoMenuModule( { name : callingMenu.menuConfig.fallback } );
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue