Projet

Général

Profil

Révision a816c917

IDa816c917b610e238a2bb82e84abb1175bf62b0ac
Parent bc53425e
Enfant 2b3fc28c

Ajouté par clarkspark il y a plus de 9 ans

get client presence for prosody 0.10

Voir les différences:

plugins/prosody/prosody_
111 111
            sys.exit(0)
112 112

  
113 113
        else:
114
            client_presence_re = re.compile(r"- (.*?)\(\d+\)")
114
            client_presence_re = re.compile(r"[-\]] (.*?)\(\d+\)")
115 115
            telnet = telnetlib.Telnet(host, port)
116 116
            telnet.write("c2s:show()\n")
117 117
            telnet_response = telnet.read_until("clients", 5)

Formats disponibles : Unified diff