Use the correct warning call
This commit is contained in:
parent
6776cec2d4
commit
ff66c21f63
|
@ -375,7 +375,7 @@ class Helper(object):
|
|||
if config["Master"][0] in IRCPool.keys():
|
||||
IRCPool[config["Master"][0]].msg(config["Master"][1], data)
|
||||
else:
|
||||
warning("Master with no IRC instance defined")
|
||||
warn("Master with no IRC instance defined")
|
||||
for i in MonitorPool:
|
||||
connections[i].send(data)
|
||||
|
||||
|
@ -483,7 +483,7 @@ class Helper(object):
|
|||
if addr in connections.keys():
|
||||
obj = connections[addr]
|
||||
else:
|
||||
warning("Got connection object with no instance in the address pool")
|
||||
warn("Got connection object with no instance in the address pool")
|
||||
return
|
||||
|
||||
success = lambda data: sendSuccess(addr, data)
|
||||
|
|
Loading…
Reference in New Issue