IRCServer.Server.irc_lower
should have a return type hint of str
This commit is contained in:
parent
3df6b39228
commit
1a24f17375
1 changed files with 1 additions and 1 deletions
|
@ -224,7 +224,7 @@ class Server(IRCObject.Object):
|
||||||
user._id = self.get_user_id(new_nickname)
|
user._id = self.get_user_id(new_nickname)
|
||||||
self.users[self.irc_lower(new_nickname)] = user
|
self.users[self.irc_lower(new_nickname)] = user
|
||||||
|
|
||||||
def irc_lower(self, s: str) -> bool:
|
def irc_lower(self, s: str) -> str:
|
||||||
return utils.irc.lower(self.case_mapping, s)
|
return utils.irc.lower(self.case_mapping, s)
|
||||||
def irc_equals(self, s1: str, s2: str) -> bool:
|
def irc_equals(self, s1: str, s2: str) -> bool:
|
||||||
return utils.irc.equals(self.case_mapping, s1, s2)
|
return utils.irc.equals(self.case_mapping, s1, s2)
|
||||||
|
|
Loading…
Reference in a new issue