56 |
|
{ |
57 |
|
source_p->away[0] = '\0'; |
58 |
|
/* we now send this only if they were away before --is */ |
59 |
< |
sendto_server(source_p, NOCAPS, NOCAPS, ":%s AWAY", ID(source_p)); |
59 |
> |
sendto_server(source_p, NOCAPS, NOCAPS, ":%s AWAY", source_p->id); |
60 |
|
sendto_common_channels_local(source_p, 1, CAP_AWAY_NOTIFY, |
61 |
|
":%s!%s@%s AWAY", |
62 |
|
source_p->name, source_p->username, |
86 |
|
source_p->name, source_p->username, |
87 |
|
source_p->host, source_p->away); |
88 |
|
sendto_server(source_p, NOCAPS, NOCAPS, ":%s AWAY :%s", |
89 |
< |
ID(source_p), source_p->away); |
89 |
> |
source_p->id, source_p->away); |
90 |
|
return 0; |
91 |
|
} |
92 |
|
|
100 |
|
{ |
101 |
|
source_p->away[0] = '\0'; |
102 |
|
/* we now send this only if they were away before --is */ |
103 |
< |
sendto_server(source_p, NOCAPS, NOCAPS, ":%s AWAY", ID(source_p)); |
103 |
> |
sendto_server(source_p, NOCAPS, NOCAPS, ":%s AWAY", source_p->id); |
104 |
|
sendto_common_channels_local(source_p, 1, CAP_AWAY_NOTIFY, |
105 |
|
":%s!%s@%s AWAY", |
106 |
|
source_p->name, source_p->username, |
120 |
|
source_p->name, source_p->username, |
121 |
|
source_p->host, source_p->away); |
122 |
|
sendto_server(source_p, NOCAPS, NOCAPS, ":%s AWAY :%s", |
123 |
< |
ID(source_p), source_p->away); |
123 |
> |
source_p->id, source_p->away); |
124 |
|
return 0; |
125 |
|
} |
126 |
|
|