Exemple #1
0
def unBlockUser(im, gateway, user, text):
    gateway.del_deny([user])
    gateway.writeNewConfig()
    return text
Exemple #2
0
def unBlockUser(im,gateway,user,text):
    gateway.del_deny([user])
    gateway.writeNewConfig()
    return text
Exemple #3
0
def blockUser(im, gateway, user, text):
    gateway.add_deny([user])
    gateway.writeNewConfig()
    return text
Exemple #4
0
def blockUser(im,gateway,user,text):
    gateway.add_deny([user])
    gateway.writeNewConfig()
    return text