diff options
author | Julien Dessaux | 2013-11-05 14:30:18 -0800 |
---|---|---|
committer | Julien Dessaux | 2013-11-05 14:30:18 -0800 |
commit | 44ddc623e4b317a31a120fb9463d634dbb37a1dd (patch) | |
tree | b2ccc8c89db8bd3d34c8688cf737595f13c9d08f /shbot.sh | |
parent | Added the quote module (diff) | |
parent | Added the duck generation module. (diff) | |
download | shbot-44ddc623e4b317a31a120fb9463d634dbb37a1dd.tar.gz shbot-44ddc623e4b317a31a120fb9463d634dbb37a1dd.tar.bz2 shbot-44ddc623e4b317a31a120fb9463d634dbb37a1dd.zip |
Merge pull request #1 from vivia/master
Misc bugfixes, added duck module
Diffstat (limited to '')
-rwxr-xr-x | shbot.sh | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -11,7 +11,7 @@ do if [[ "$LINE" =~ PING\ *:(.*) ]]; then echo "PONG :${BASH_REMATCH[1]}" >&3 else - [[ ${LINE} =~ :[a-zA-Z]*!.*(#.*)\ :.* ]] && ORIGIN=${BASH_REMATCH[1]} + [[ ${LINE} =~ :[^!]*![^#]*(#.*)\ :.* ]] && ORIGIN=${BASH_REMATCH[1]} echo "${LINE}" | ./shbrain.sh | \ while true do |