示例#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.")
示例#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.")
示例#3
0
 def __call__(self, user, prot, args, session):
     user.active=True
     scheduling.enable_user(user.jid)
     prot.send_plain(user.jid, "Notify enabled.")