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():
|
if config["Master"][0] in IRCPool.keys():
|
||||||
IRCPool[config["Master"][0]].msg(config["Master"][1], data)
|
IRCPool[config["Master"][0]].msg(config["Master"][1], data)
|
||||||
else:
|
else:
|
||||||
warning("Master with no IRC instance defined")
|
warn("Master with no IRC instance defined")
|
||||||
for i in MonitorPool:
|
for i in MonitorPool:
|
||||||
connections[i].send(data)
|
connections[i].send(data)
|
||||||
|
|
||||||
|
@ -483,7 +483,7 @@ class Helper(object):
|
||||||
if addr in connections.keys():
|
if addr in connections.keys():
|
||||||
obj = connections[addr]
|
obj = connections[addr]
|
||||||
else:
|
else:
|
||||||
warning("Got connection object with no instance in the address pool")
|
warn("Got connection object with no instance in the address pool")
|
||||||
return
|
return
|
||||||
|
|
||||||
success = lambda data: sendSuccess(addr, data)
|
success = lambda data: sendSuccess(addr, data)
|
||||||
|
|
Loading…
Reference in New Issue