Fix "/away " not setting you away
This commit is contained in:
parent
0a1a4fc68a
commit
730c266ea8
@ -6,7 +6,7 @@ exports.input = function(network, chan, cmd, args) {
|
|||||||
let reason = "";
|
let reason = "";
|
||||||
|
|
||||||
if (cmd === "away") {
|
if (cmd === "away") {
|
||||||
reason = args.length > 0 ? args.join(" ") : " ";
|
reason = args.join(" ") || " ";
|
||||||
|
|
||||||
network.irc.raw("AWAY", reason);
|
network.irc.raw("AWAY", reason);
|
||||||
} else { // back command
|
} else { // back command
|
||||||
|
Loading…
Reference in New Issue
Block a user