Fix null membership on JOIN

This commit is contained in:
Simon Ser 2021-05-31 16:08:33 +02:00
parent be1ecf607d
commit 14dbb60aec

View file

@ -703,7 +703,7 @@ export default class App extends Component {
this.createBuffer(netID, channel);
this.setBufferState({ network: netID, name: channel }, (buf) => {
var members = new irc.CaseMapMap(buf.members);
members.set(msg.prefix.name, null);
members.set(msg.prefix.name, "");
return { members };
});
if (!client.isMyNick(msg.prefix.name)) {