From b11f58b975f1fdf282fc7e5ade46430172b0b8db Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Thu, 16 Dec 2021 23:37:33 +0100 Subject: [PATCH] state: fix prefix() call in MODE handler Lost during a refactoring. Fixes: ab3d4dd66183 ("Refactor ISUPPORT handling") --- state.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/state.js b/state.js index 32f6f38..7cada74 100644 --- a/state.js +++ b/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]; }));