mirror of
https://github.com/NuSkooler/enigma-bbs.git
synced 2025-06-06 12:47:13 +02:00
Rename connect event to term_detected, add connected and disconnected events
This commit is contained in:
parent
5572ca5d24
commit
c45824b3ad
3 changed files with 17 additions and 12 deletions
|
@ -177,7 +177,7 @@ function connectEntry(client, nextMenu) {
|
|||
displayBanner(term);
|
||||
|
||||
// fire event
|
||||
events.emit('codes.l33t.enigma.system.connect', {'client': client});
|
||||
events.emit('codes.l33t.enigma.system.term_detected', {'client': client});
|
||||
|
||||
setTimeout( () => {
|
||||
return client.menuStack.goto(nextMenu);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue