mirror of
https://github.com/overte-org/overte.git
synced 2025-04-19 15:03:53 +02:00
Fixes to clip_url overwriting
This commit is contained in:
parent
fb90ffec5c
commit
d75209cb37
2 changed files with 3 additions and 0 deletions
|
@ -60,6 +60,8 @@ function getAction(channel, message, senderID) {
|
|||
// Checking the id we can assign the correct url to the correct agent.
|
||||
|
||||
action = command.action_key;
|
||||
print("That command was for me!");
|
||||
print("My clip is: " + clip_url);
|
||||
} else {
|
||||
action = DO_NOTHING;
|
||||
}
|
||||
|
|
|
@ -163,6 +163,7 @@ function sendCommand(id, action) {
|
|||
if(subscribed){
|
||||
Messages.sendMessage(channel, JSON.stringify(message));
|
||||
print("Message sent!");
|
||||
clip_url = null;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue