update issues_change_detector from pbot-ng, change unknown ip6 2001:ba8:1f1:f216::5 to ::1, ignore bot_settings.sh, fix description on hack_of_all_hacks
This commit is contained in:
parent
ae928016bf
commit
7eb1df0ef4
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,2 +1,3 @@
|
||||
announcements/people/*
|
||||
bot_settings.sh
|
||||
logs
|
||||
|
@ -289,7 +289,7 @@ function l33t_codes
|
||||
|
||||
"${my_own_name}: tell "+([![:space:]])":"+([[:space:]])+([![:space:]])* )
|
||||
# The line will be something such as:
|
||||
# hyperbot: tell user: you suck
|
||||
# hyperbot: tell user: hi
|
||||
process="${sentence##${my_own_name}: tell }"
|
||||
subject="${process%%:*}"
|
||||
message="${process#*:}"
|
||||
|
@ -31,7 +31,7 @@ do
|
||||
echo -n " (${line#'Bug #'+([[:digit:]])': '})"
|
||||
next_line_is_url=1
|
||||
;;
|
||||
'https://issues.hyperbola.info/issues/'* )
|
||||
'https://labs.parabola.nu/issues/'* )
|
||||
(( next_line_is_url )) &&
|
||||
echo -n " ${line}"
|
||||
break
|
||||
@ -40,4 +40,8 @@ do
|
||||
done < "${email}"
|
||||
|
||||
echo
|
||||
done >> "${bot_ipc}"
|
||||
done |
|
||||
while read message
|
||||
do
|
||||
echo "${message}" >> "${bot_ipc}"
|
||||
done
|
||||
|
@ -88,7 +88,7 @@ transport_read_line() {
|
||||
[[ -w /tmp/un-provoked-message-store ]] && (( ${ze_length%% *} ))
|
||||
then
|
||||
read -r line < /tmp/un-provoked-message-store
|
||||
line=':tlCJ99mfZl!~user@2001:ba8:1f1:f216::5 PRIVMSG #hyperbola :'"${line}"
|
||||
line=':tlCJ99mfZl!~user@::1 PRIVMSG #hyperbola :'"${line}"
|
||||
|
||||
# remove the top line of the file
|
||||
if (( ${ze_length%% *} < 2 ))
|
||||
|
@ -173,7 +173,7 @@ transport_read_line() {
|
||||
[[ -w /tmp/un-provoked-message-store ]] && (( ${ze_length%% *} ))
|
||||
then
|
||||
read -r line < /tmp/un-provoked-message-store
|
||||
line=':tlCJ99mfZl!~user@2001:ba8:1f1:f216::5 PRIVMSG #hyperbola :'"${line}"
|
||||
line=':tlCJ99mfZl!~user@::1 PRIVMSG #hyperbola :'"${line}"
|
||||
|
||||
if (( ${ze_length%% *} < 2 ))
|
||||
then
|
||||
|
Loading…
x
Reference in New Issue
Block a user