mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-01-11 20:52:42 +01:00
Seen: Don't internalize IrcString (again).
This commit is contained in:
parent
277cbb6589
commit
2ceb60762e
@ -189,6 +189,8 @@ class ChannelUserDictionary(collections.abc.MutableMapping):
|
|||||||
|
|
||||||
def __setitem__(self, key, v):
|
def __setitem__(self, key, v):
|
||||||
(channel, id) = key
|
(channel, id) = key
|
||||||
|
channel = str(channel) # channel might be an IrcString,
|
||||||
|
# which is not internalizable
|
||||||
channel = sys.intern(channel)
|
channel = sys.intern(channel)
|
||||||
if channel not in self.channels:
|
if channel not in self.channels:
|
||||||
self.channels[channel] = self.IdDict()
|
self.channels[channel] = self.IdDict()
|
||||||
|
Loading…
Reference in New Issue
Block a user