Esempio n. 1
0
 def __call__(self, user, prot, args, session):
     user.active=True
     try:
         session.add(user)
         session.commit()
     except:
         log.err()
     scheduling.enable_user(user.jid)
     prot.send_plain(user.jid, "Notify enabled.")
Esempio n. 2
0
 def __call__(self, user, prot, args, session):
     user.active = True
     try:
         session.add(user)
         session.commit()
     except:
         log.err()
     scheduling.enable_user(user.jid)
     prot.send_plain(user.jid, "Notify enabled.")
Esempio n. 3
0
 def __call__(self, user, prot, args, session):
     user.active=True
     scheduling.enable_user(user.jid)
     prot.send_plain(user.jid, "Notify enabled.")