Skip to content

Commit

Permalink
Moved "Screeps:" prefix to sendSMS function so it won't spam up http …
Browse files Browse the repository at this point in the history
…endpoints
  • Loading branch information
tedivm committed Aug 15, 2016
1 parent 4c0d9a3 commit 7f97b7d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion js/Notify.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ Notify.queueMessage = function (message) {
Memory.__notify = []
}
Memory.__notify.push({
'message': 'Screeps: ' + message,
'message': message,
'tick': Game.time
})
}
Expand Down
2 changes: 1 addition & 1 deletion screeps_notify/notify.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def clearNotifications(tick=0):


def sendSMS(notification):
message = notification['message']
message = 'Screeps: ' + notification['message']
settings = getSettings()

if 'twilio_sid' not in settings:
Expand Down

0 comments on commit 7f97b7d

Please sign in to comment.