Moving common functions to a functions file.

This commit is contained in:
Storm Dragon
2016-09-03 00:14:12 -04:00
parent 04b2237242
commit b5b5dc1d10
3 changed files with 13 additions and 9 deletions

9
functions.sh Normal file
View File

@ -0,0 +1,9 @@
#!/bin/bash
msg()
{
local msg="PRIVMSG $1"
shift
echo "$msg $@" | tee -a "$log"
}