forked from CringeStudios/gamja
parent
a51be5037d
commit
0137a95268
@ -5,6 +5,7 @@ import * as irc from "./irc.js";
|
||||
const permanentCaps = [
|
||||
"away-notify",
|
||||
"batch",
|
||||
"chghost",
|
||||
"echo-message",
|
||||
"invite-notify",
|
||||
"labeled-response",
|
||||
|
9
state.js
9
state.js
@ -401,6 +401,15 @@ export const State = {
|
||||
let who = { ...buf.who, realname: msg.params[0] };
|
||||
return { who };
|
||||
});
|
||||
case "CHGHOST":
|
||||
return updateBuffer(msg.prefix.name, (buf) => {
|
||||
let who = {
|
||||
...buf.who,
|
||||
username: msg.params[0],
|
||||
hostname: msg.params[1],
|
||||
};
|
||||
return { who };
|
||||
});
|
||||
case "AWAY":
|
||||
let awayMessage = msg.params[0];
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user