97 |
|
if (cur_away_msg) |
98 |
|
{ |
99 |
|
/* we now send this only if they were away before --is */ |
100 |
< |
sendto_server(client_p, source_p, NULL, CAP_TS6, NOCAPS, |
101 |
< |
NOFLAGS, ":%s AWAY", ID(source_p)); |
102 |
< |
sendto_server(client_p, source_p, NULL, NOCAPS, CAP_TS6, |
103 |
< |
NOFLAGS, ":%s AWAY", source_p->name); |
100 |
> |
sendto_server(client_p, NULL, CAP_TS6, NOCAPS, |
101 |
> |
":%s AWAY", ID(source_p)); |
102 |
> |
sendto_server(client_p, NULL, NOCAPS, CAP_TS6, |
103 |
> |
":%s AWAY", source_p->name); |
104 |
|
|
105 |
|
MyFree(cur_away_msg); |
106 |
|
source_p->away = NULL; |
132 |
|
* weren't away already --is */ |
133 |
|
if (!cur_away_msg) |
134 |
|
{ |
135 |
< |
sendto_server(client_p, source_p, NULL, CAP_TS6, NOCAPS, |
136 |
< |
NOFLAGS, ":%s AWAY :%s", ID(source_p), new_away_msg); |
137 |
< |
sendto_server(client_p, source_p, NULL, NOCAPS, CAP_TS6, |
138 |
< |
NOFLAGS, ":%s AWAY :%s", source_p->name, new_away_msg); |
135 |
> |
sendto_server(client_p, NULL, CAP_TS6, NOCAPS, |
136 |
> |
":%s AWAY :%s", ID(source_p), new_away_msg); |
137 |
> |
sendto_server(client_p, NULL, NOCAPS, CAP_TS6, |
138 |
> |
":%s AWAY :%s", source_p->name, new_away_msg); |
139 |
|
} |
140 |
|
else |
141 |
|
MyFree(cur_away_msg); |
164 |
|
if (cur_away_msg) |
165 |
|
{ |
166 |
|
/* we now send this only if they were away before --is */ |
167 |
< |
sendto_server(client_p, source_p, NULL, CAP_TS6, NOCAPS, |
168 |
< |
NOFLAGS, ":%s AWAY", ID(source_p)); |
169 |
< |
sendto_server(client_p, source_p, NULL, NOCAPS, CAP_TS6, |
170 |
< |
NOFLAGS, ":%s AWAY", source_p->name); |
167 |
> |
sendto_server(client_p, NULL, CAP_TS6, NOCAPS, |
168 |
> |
":%s AWAY", ID(source_p)); |
169 |
> |
sendto_server(client_p, NULL, NOCAPS, CAP_TS6, |
170 |
> |
":%s AWAY", source_p->name); |
171 |
|
|
172 |
|
MyFree(cur_away_msg); |
173 |
|
source_p->away = NULL; |
190 |
|
* weren't away already --is */ |
191 |
|
if (!cur_away_msg) |
192 |
|
{ |
193 |
< |
sendto_server(client_p, source_p, NULL, CAP_TS6, NOCAPS, |
194 |
< |
NOFLAGS, ":%s AWAY :%s", ID(source_p), new_away_msg); |
195 |
< |
sendto_server(client_p, source_p, NULL, NOCAPS, CAP_TS6, |
196 |
< |
NOFLAGS, ":%s AWAY :%s", source_p->name, new_away_msg); |
193 |
> |
sendto_server(client_p, NULL, CAP_TS6, NOCAPS, |
194 |
> |
":%s AWAY :%s", ID(source_p), new_away_msg); |
195 |
> |
sendto_server(client_p, NULL, NOCAPS, CAP_TS6, |
196 |
> |
":%s AWAY :%s", source_p->name, new_away_msg); |
197 |
|
} |
198 |
|
else |
199 |
|
MyFree(cur_away_msg); |
224 |
|
if (cur_away_msg) |
225 |
|
{ |
226 |
|
/* we now send this only if they were away before --is */ |
227 |
< |
sendto_server(client_p, source_p, NULL, CAP_TS6, NOCAPS, |
228 |
< |
NOFLAGS, ":%s AWAY", ID(source_p)); |
229 |
< |
sendto_server(client_p, source_p, NULL, NOCAPS, CAP_TS6, |
230 |
< |
NOFLAGS, ":%s AWAY", source_p->name); |
227 |
> |
sendto_server(client_p, NULL, CAP_TS6, NOCAPS, |
228 |
> |
":%s AWAY", ID(source_p)); |
229 |
> |
sendto_server(client_p, NULL, NOCAPS, CAP_TS6, |
230 |
> |
":%s AWAY", source_p->name); |
231 |
|
|
232 |
|
MyFree(cur_away_msg); |
233 |
|
source_p->away = NULL; |
248 |
|
* weren't away already --is */ |
249 |
|
if (!cur_away_msg) |
250 |
|
{ |
251 |
< |
sendto_server(client_p, source_p, NULL, CAP_TS6, NOCAPS, |
252 |
< |
NOFLAGS, ":%s AWAY :%s", ID(source_p), new_away_msg); |
253 |
< |
sendto_server(client_p, source_p, NULL, NOCAPS, CAP_TS6, |
254 |
< |
NOFLAGS, ":%s AWAY :%s", source_p->name, new_away_msg); |
251 |
> |
sendto_server(client_p, NULL, CAP_TS6, NOCAPS, |
252 |
> |
":%s AWAY :%s", ID(source_p), new_away_msg); |
253 |
> |
sendto_server(client_p, NULL, NOCAPS, CAP_TS6, |
254 |
> |
":%s AWAY :%s", source_p->name, new_away_msg); |
255 |
|
} |
256 |
|
else |
257 |
|
MyFree(cur_away_msg); |