Merge pull request #2524 from thelounge/xpaw/fix-away-cmd
Fix "/away " not setting you away
This commit is contained in:
commit
8a7212a04f
@ -6,7 +6,7 @@ exports.input = function(network, chan, cmd, args) {
|
||||
let reason = "";
|
||||
|
||||
if (cmd === "away") {
|
||||
reason = args.length > 0 ? args.join(" ") : " ";
|
||||
reason = args.join(" ") || " ";
|
||||
|
||||
network.irc.raw("AWAY", reason);
|
||||
} else { // back command
|
||||
|
Loading…
Reference in New Issue
Block a user