mirror of
https://github.com/thelounge/thelounge
synced 2025-02-22 16:18:28 +00:00
Fix "/away " not setting you away
This commit is contained in:
parent
0a1a4fc68a
commit
730c266ea8
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue