A bit more code cleanup.

This commit is contained in:
Storm Dragon 2020-08-18 21:02:12 -04:00
parent 0eccf775da
commit d448ba2cf7
1 changed files with 3 additions and 3 deletions

View File

@ -11,7 +11,7 @@ close_bot() {
msg() {
local msg="PRIVMSG $1 :"
shift
echo -en "${msg}$@\r\n" | tee -a "$input"
echo -en "${msg}${*}\r\n" | tee -a "$input"
}
nick() {
@ -23,11 +23,11 @@ nick() {
reply() {
shift
local msg="PRIVMSG $1 :"
echo -en "${msg}$@\r\n" | tee -a "$input"
echo -en "${msg}${*}\r\n" | tee -a "$input"
}
act() {
local msg="PRIVMSG $1 :\x01ACTION"
shift
echo -en "$msg $@\x01\r\n" | tee -a "$input"
echo -en "$msg ${*}\x01\r\n" | tee -a "$input"
}