def unBlockUser(im, gateway, user, text): gateway.del_deny([user]) gateway.writeNewConfig() return text
def unBlockUser(im,gateway,user,text): gateway.del_deny([user]) gateway.writeNewConfig() return text
def blockUser(im, gateway, user, text): gateway.add_deny([user]) gateway.writeNewConfig() return text
def blockUser(im,gateway,user,text): gateway.add_deny([user]) gateway.writeNewConfig() return text