forked from tilderadio/radiobot
remove unneeded quotes
This commit is contained in:
parent
118ec4e189
commit
7ae1f26cb6
6
bot.sh
6
bot.sh
|
@ -90,10 +90,10 @@ do
|
|||
|
||||
# "#" would mean it's a channel
|
||||
if [[ $from =~ ^#.* ]]; then
|
||||
test "$(printf "%s" "$line" | grep ":$nick:")" || continue
|
||||
args=$(printf "%s" "$line" | sed -E "s/.*:$nick:(.*)/\1/")
|
||||
test "$(printf %s "$line" | grep ":$nick:")" || continue
|
||||
args=$(printf %s "$line" | sed -E "s/.*:$nick:(.*)/\1/")
|
||||
else
|
||||
args=$(printf "%s" "$line" | sed -E "s/.*$nick :(.*)/\1/")
|
||||
args=$(printf %s "$line" | sed -E "s/.*$nick :(.*)/\1/")
|
||||
from="$who"
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in New Issue