Implement counting keyword events and a unified buffers system for when the master channel is unavailable
This commit is contained in:
@@ -1,8 +1,9 @@
|
||||
from core.main import *
|
||||
from string import digits
|
||||
#from utils.logging.log import *
|
||||
|
||||
def setWho(network, newObjects):
|
||||
network = "".join([x for x in network if not x in numbers])
|
||||
network = "".join([x for x in network if not x in digits])
|
||||
if not network in wholist.keys():
|
||||
wholist[network] = {}
|
||||
for i in newObjects.keys():
|
||||
@@ -11,7 +12,7 @@ def setWho(network, newObjects):
|
||||
return
|
||||
|
||||
def setWhoSingle(network, nick, ident, host):
|
||||
network = "".join([x for x in network if not x in numbers])
|
||||
network = "".join([x for x in network if not x in digits])
|
||||
|
||||
if network in wholist.keys():
|
||||
if nick in wholist[network].keys():
|
||||
|
||||
Reference in New Issue
Block a user