Use the correct warning call

This commit is contained in:
Mark Veidemanis 2018-01-20 21:26:35 +00:00
parent 6776cec2d4
commit ff66c21f63
1 changed files with 2 additions and 2 deletions

View File

@ -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)