diff --git a/lgsm/functions/alert_pushbullet.sh b/lgsm/functions/alert_pushbullet.sh index b228796f6..4b5e3eab9 100644 --- a/lgsm/functions/alert_pushbullet.sh +++ b/lgsm/functions/alert_pushbullet.sh @@ -2,44 +2,30 @@ # LinuxGSM alert_pushbullet.sh function # Author: Daniel Gibbs # Website: https://gameservermanagers.com -# Description: Sends Pushbullet alert. +# Description: Sends Pushbullet Messenger alert. local commandname="ALERT" local commandaction="Alert" local function_selfname="$(basename $(readlink -f "${BASH_SOURCE[0]}"))" -# converts text to ascii then passes to curl. allowing special characters to be sent e.g % -# http://stackoverflow.com/a/10660730 -fn_rawurlencode() { - local string="${1}" - local strlen=${#string} - local encoded="" - local pos c o - - for (( pos=0 ; pos