From 107f2e0429f59f931133b670707268dd2256bb4d Mon Sep 17 00:00:00 2001 From: vps Date: Thu, 22 Jul 2021 01:04:59 +0000 Subject: [PATCH] added support for capital letters in usernames --- bin/chat0/post | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/chat0/post b/bin/chat0/post index 5efa51e..4dd31d1 100755 --- a/bin/chat0/post +++ b/bin/chat0/post @@ -13,7 +13,7 @@ if [ -z "$user" ]; then fi nstr=$(echo $QUERY_STRING | sed 's/\(%0A\| \)/ /g' | sed 's/%/\\x/g') -nuser=$(echo ${user//[!a-z]/}) +nuser=$(echo ${user//[!A-z]/}) if [ $(cat last_message) != $nstr ]; then printf "($(date "+%Y/%m/%d %R %Z")) $(echo $nuser: $nstr | awk '{printf "%9s\t%s\n", $1, $2}')\n" >> message_log -- 2.45.2