Commits

Marcin Kasperski committed 83d1ab8

fin

Comments (0)

Files changed (1)

src/mekk/fics/datatypes/player.py

         my_name = self.name.lower()
         if my_name == other_name:
             return 0
-        if self.trunc and not other_trunc and other_name.startswith(my_name) and len(my_name) >= TRUNCATED_LEN:
+        if self.trunc and not other_trunc and other_name.startswith(my_name):
             return 0
-        if not self.trunc and other_trunc and my_name.startswith(other_name) and len(other_name) >= TRUNCATED_LEN:
+        if not self.trunc and other_trunc and my_name.startswith(other_name):
             return 0
         return cmp(my_name, other_name)