| 83 t_GHash = g_hash_table_new(g_str_hash, g_str_equal); |
83 t_GHash = g_hash_table_new(g_str_hash, g_str_equal); |
| 84 |
84 |
| 85 for (t_HE = hv_iternext(t_HV); t_HE != NULL; t_HE = hv_iternext(t_HV) ) { |
85 for (t_HE = hv_iternext(t_HV); t_HE != NULL; t_HE = hv_iternext(t_HV) ) { |
| 86 t_key = hv_iterkey(t_HE, &len); |
86 t_key = hv_iterkey(t_HE, &len); |
| 87 t_SV = *hv_fetch(t_HV, t_key, len, 0); |
87 t_SV = *hv_fetch(t_HV, t_key, len, 0); |
| 88 t_value = SvPV(t_SV, PL_na); |
88 t_value = SvPVutf8_nolen(t_SV); |
| 89 |
89 |
| 90 g_hash_table_insert(t_GHash, t_key, t_value); |
90 g_hash_table_insert(t_GHash, t_key, t_value); |
| 91 } |
91 } |
| 92 serv_got_chat_invite(gc, name, who, message, t_GHash); |
92 serv_got_chat_invite(gc, name, who, message, t_GHash); |
| 93 |
93 |
| 138 t_GHash = g_hash_table_new(g_str_hash, g_str_equal); |
138 t_GHash = g_hash_table_new(g_str_hash, g_str_equal); |
| 139 |
139 |
| 140 for (t_HE = hv_iternext(t_HV); t_HE != NULL; t_HE = hv_iternext(t_HV) ) { |
140 for (t_HE = hv_iternext(t_HV); t_HE != NULL; t_HE = hv_iternext(t_HV) ) { |
| 141 t_key = hv_iterkey(t_HE, &len); |
141 t_key = hv_iterkey(t_HE, &len); |
| 142 t_SV = *hv_fetch(t_HV, t_key, len, 0); |
142 t_SV = *hv_fetch(t_HV, t_key, len, 0); |
| 143 t_value = SvPV(t_SV, PL_na); |
143 t_value = SvPVutf8_nolen(t_SV); |
| 144 |
144 |
| 145 g_hash_table_insert(t_GHash, t_key, t_value); |
145 g_hash_table_insert(t_GHash, t_key, t_value); |
| 146 } |
146 } |
| 147 serv_join_chat(con, t_GHash); |
147 serv_join_chat(con, t_GHash); |
| 148 |
148 |
| 168 t_GHash = g_hash_table_new(g_str_hash, g_str_equal); |
168 t_GHash = g_hash_table_new(g_str_hash, g_str_equal); |
| 169 |
169 |
| 170 for (t_HE = hv_iternext(t_HV); t_HE != NULL; t_HE = hv_iternext(t_HV) ) { |
170 for (t_HE = hv_iternext(t_HV); t_HE != NULL; t_HE = hv_iternext(t_HV) ) { |
| 171 t_key = hv_iterkey(t_HE, &len); |
171 t_key = hv_iterkey(t_HE, &len); |
| 172 t_SV = *hv_fetch(t_HV, t_key, len, 0); |
172 t_SV = *hv_fetch(t_HV, t_key, len, 0); |
| 173 t_value = SvPV(t_SV, PL_na); |
173 t_value = SvPVutf8_nolen(t_SV); |
| 174 |
174 |
| 175 g_hash_table_insert(t_GHash, t_key, t_value); |
175 g_hash_table_insert(t_GHash, t_key, t_value); |
| 176 } |
176 } |
| 177 serv_reject_chat(con, t_GHash); |
177 serv_reject_chat(con, t_GHash); |
| 178 |
178 |