dot

packages and services management
Log | Files | Refs | README

commit ccf847c626ffb65b4cd1826f25f9c1a57115a939
parent 322f772e6ffc0062aa1bbd7355a95ac3f957637a
Author: josuah <mail@josuah.net>
Date:   Tue,  4 Oct 2016 14:54:17 -0400

irc: Improved server compatibility to set the channel

Diffstat:
Mbin/irc | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bin/irc b/bin/irc @@ -172,7 +172,7 @@ parse_message() # Channel and extra command action case "$cmd" in JOIN | PART ) - chan="$middle" + chan="${middle:-$trail}" ;; PRIVMSG ) [ "$middle" = "$user" ] && chan="$nick" || chan="$middle"