mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-01-10 20:22:36 +01:00
core: Prevent infinite recursion with Pypy.
This commit is contained in:
parent
add5e07d97
commit
726558115d
@ -508,7 +508,7 @@ class IrcString(str):
|
||||
"""This class does case-insensitive comparison and hashing of nicks."""
|
||||
def __new__(cls, s=''):
|
||||
x = super(IrcString, cls).__new__(cls, s)
|
||||
x.lowered = toLower(x)
|
||||
x.lowered = str(toLower(x))
|
||||
return x
|
||||
|
||||
def __eq__(self, s):
|
||||
|
Loading…
Reference in New Issue
Block a user