From 2ceb60762eb1ed647aca05d962f67d1099deeae1 Mon Sep 17 00:00:00 2001 From: Valentin Lorentz Date: Fri, 5 Jun 2020 00:41:18 +0200 Subject: [PATCH] Seen: Don't internalize IrcString (again). --- plugins/__init__.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plugins/__init__.py b/plugins/__init__.py index 383bff80f..78d22fe4a 100644 --- a/plugins/__init__.py +++ b/plugins/__init__.py @@ -189,6 +189,8 @@ class ChannelUserDictionary(collections.abc.MutableMapping): def __setitem__(self, key, v): (channel, id) = key + channel = str(channel) # channel might be an IrcString, + # which is not internalizable channel = sys.intern(channel) if channel not in self.channels: self.channels[channel] = self.IdDict()