Seen: Don't internalize IrcString (again).

This commit is contained in:
Valentin Lorentz 2020-06-05 00:41:18 +02:00
parent 277cbb6589
commit 2ceb60762e

View File

@ -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()