mirror of
https://codeberg.org/emersion/gamja.git
synced 2024-11-25 00:38:12 -05:00
state: fix prefix() call in MODE handler
Lost during a refactoring.
Fixes: ab3d4dd661
("Refactor ISUPPORT handling")
This commit is contained in:
parent
4704e0f12f
commit
b11f58b975
1 changed files with 1 additions and 1 deletions
2
state.js
2
state.js
|
@ -560,7 +560,7 @@ export const State = {
|
|||
return; // TODO: handle user mode changes too
|
||||
}
|
||||
|
||||
let prefix = client.prefix();
|
||||
let prefix = client.isupport.prefix();
|
||||
let prefixByMode = new Map(irc.parseMembershipModes(prefix).map((membership) => {
|
||||
return [membership.mode, membership.prefix];
|
||||
}));
|
||||
|
|
Loading…
Reference in a new issue