Fixed more translation problems.
This commit is contained in:
1
bot.sh
1
bot.sh
@ -137,6 +137,7 @@ tail -f "$input" | telnet "$server" "$port" | while read -r result ; do
|
||||
./triggers/link/link.sh "$who" "$from" "$result"
|
||||
set -f
|
||||
# Although this calls modules, it triggers on text other than the bot's nick
|
||||
# To make sure that modules are only called when they are supposed to be, had to combine string monipulation with regexp.
|
||||
elif [[ "${result#:*:}" =~ ^[${botCaller}][a-zA-Z_].* ]]; then
|
||||
command="${result#*:[[:punct:]]}"
|
||||
command="${command//# /}"
|
||||
|
Reference in New Issue
Block a user