Hack von sur5r damit das karma handlung bei SPF+-Slots nicht anspringt.

This commit is contained in:
c0dev0id 2023-02-27 16:03:05 +01:00
parent 73223ca737
commit 42106d11a6

View File

@ -228,7 +228,7 @@ do
# We call it gummipunkte now. # We call it gummipunkte now.
KARMA=$(echo "$line" \ KARMA=$(echo "$line" \
| tr '[:upper:]' '[:lower:]' \ | tr '[:upper:]' '[:lower:]' \
| sed -n 's|.* \([a-zA-Z0-9\-_]*[+-][+-]\).*|\1|p') | sed -n 's|.* \([a-zA-Z0-9\-_]*[+-][+-]\)$|\1|p;s|.* \([a-zA-Z0-9\-_]*[+-][+-]\) .*|\1|p')
echo "in> $line" echo "in> $line"
echo "in> NICK=$NICK, COMMAND=$COMMAND, ARG=$ARG, KARMA=$KARMA" echo "in> NICK=$NICK, COMMAND=$COMMAND, ARG=$ARG, KARMA=$KARMA"