trans

Unnamed repository; edit this file 'description' to name the repository.
git clone git://fqcor.com/trans.git
torsocks git clone git://fqcoretoclxwqpy3dwktkskmwywrcktgnpviesveq6vrjhqhdc6y4fid.onion/trans.git
Log | Files | Refs | README | LICENSE

commit f1d7b37a65772b08510406e4355e92e89cd62fc4
parent cef72755ba70de5f70811ac1f75b515e0678d41b
Author: mys <>
Date:   Fri, 16 Jul 2021 21:49:46 +0200

Fix the fix - arot was wrong

Diffstat:
Mbotreply | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/botreply b/botreply @@ -133,7 +133,8 @@ case "$1" in # Encode arot *"PRIVMSG "*":$nick: :arot"*|*"PRIVMSG "*":$nick, :arot"*) num=$(echo "$1" | sed "s/.*:$nick[,:] :arot\([-+]\{0,1\}[0-9]\{0,\}\).*/\1/") - if ! [[ $num =~ '^[0-9]+$' ]] ; + re='^[0-9]+$' + if ! [[ $num =~ $re ]] ; then num=47 fi