diff options
author | bill-auger <mr.j.spam.me@gmail.com> | 2018-08-07 16:18:57 -0400 |
---|---|---|
committer | bill-auger <mr.j.spam.me@gmail.com> | 2018-08-13 07:50:31 -0400 |
commit | 5dfa0637f7e3cfd3fd2a0c7646225dc1d2737af3 (patch) | |
tree | d2feee2fedf1422b9ee26fc42d11541c3d9867e6 /transport | |
parent | 40e4364d2ce81252774c3111f37c317053b43ded (diff) |
refactor internal dummy nick into a constant
Diffstat (limited to 'transport')
-rw-r--r-- | transport/dev-tcp.sh | 2 | ||||
-rw-r--r-- | transport/socat.sh | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/transport/dev-tcp.sh b/transport/dev-tcp.sh index 1118971..7de1305 100644 --- a/transport/dev-tcp.sh +++ b/transport/dev-tcp.sh @@ -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 #parabola :'"${line}" + line=':'${INJECT_NICK}'!~user@2001:ba8:1f1:f216::5 PRIVMSG #parabola :'"${line}" # remove the top line of the file if (( ${ze_length%% *} < 2 )) diff --git a/transport/socat.sh b/transport/socat.sh index 4eb062b..c3655de 100644 --- a/transport/socat.sh +++ b/transport/socat.sh @@ -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 #parabola :'"${line}" + line=':'${INJECT_NICK}'!~user@2001:ba8:1f1:f216::5 PRIVMSG #parabola :'"${line}" if (( ${ze_length%% *} < 2 )) then |