Make monitor notifications ignore numbers to support multiple networks in only one reference
This commit is contained in:
@@ -3,7 +3,6 @@ from string import digits
|
||||
#from utils.logging.log import *
|
||||
|
||||
def setWho(network, newObjects):
|
||||
network = "".join([x for x in network if not x in digits])
|
||||
if not network in main.wholist.keys():
|
||||
main.wholist[network] = {}
|
||||
for i in newObjects.keys():
|
||||
@@ -12,8 +11,6 @@ def setWho(network, newObjects):
|
||||
return
|
||||
|
||||
def setWhoSingle(network, nick, ident, host):
|
||||
network = "".join([x for x in network if not x in digits])
|
||||
|
||||
if network in main.wholist.keys():
|
||||
if nick in main.wholist[network].keys():
|
||||
main.wholist[network][nick][1] = ident
|
||||
|
||||
Reference in New Issue
Block a user