hysteria

ii wrapper script
git clone git://git.2f30.org/hysteria
Log | Files | Refs | README | LICENSE

commit 8fd4167869a2cfa1fac6290145c4d893a5986176
parent 1b59d9bed884e2711fc00968c32184a2a8152166
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date:   Sun, 11 May 2014 12:27:15 +0000

connectserver: default port 6667 if not specified

Signed-off-by: Hiltjo Posthuma <hiltjo@codemadness.org>

Diffstat:
Mconnectserver | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/connectserver b/connectserver @@ -16,6 +16,7 @@ fi host=$(printf '%s' "$1" | cut -d ':' -f 1) port=$(printf '%s' "$1" | cut -s -d ':' -f 2) +[ "$port" = "" ] && port="6667" tmux new-window "ii -i $ircdir -s $host -p $port -n $nick -f $fullname" tmux rename-window "$host" ./waitfile "$ircdir/$host/out"