mirror of
https://git.wownero.com/wownero/tippero.git
synced 2024-08-15 00:33:14 +00:00
Canonicalize nicks
For IRC, this mean case insensitivity
This commit is contained in:
parent
a7ac4f8b1c
commit
c03f518b96
4 changed files with 57 additions and 1 deletions
|
@ -87,6 +87,9 @@ class IRCNetwork(Network):
|
|||
def is_identified(self,link):
|
||||
return link.identity() in self.registered_users
|
||||
|
||||
def canonicalize(self,nick):
|
||||
return nick.lower()
|
||||
|
||||
def join(self,chan):
|
||||
self._irc_sendmsg('JOIN '+chan)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue