Commit 14e1f0c6 authored by Robby Russell's avatar Robby Russell
Browse files

Merge pull request #4286 from RobinDaugherty/rand-quote-failure

Rand-quote plugin overflows stack when site is unreachable
parents a228604e 96aefd2b
......@@ -18,8 +18,6 @@ if [[ -x `which curl` ]]; then
W=$(echo "$Q" | sed -e 's/.*\/quotes\///g' -e 's/<.*//g' -e 's/.*">//g')
if [ "$W" -a "$TXT" ]; then
echo "${WHO_COLOR}${W}${COLON_COLOR}: ${TEXT_COLOR}${TXT}${END_COLOR}"
else
quote
fi
}
#quote
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment