| 23 |
|
*/ |
| 24 |
|
|
| 25 |
|
#include "stdinc.h" |
| 26 |
< |
#include "tools.h" |
| 26 |
> |
#include "list.h" |
| 27 |
|
#include "send.h" |
| 28 |
|
#include "channel.h" |
| 29 |
|
#include "client.h" |
| 38 |
|
#include "s_serv.h" |
| 39 |
|
#include "sprintf_irc.h" |
| 40 |
|
#include "s_conf.h" |
| 41 |
– |
#include "list.h" |
| 41 |
|
#include "s_log.h" |
| 42 |
|
#include "memory.h" |
| 43 |
|
#include "hook.h" |
| 544 |
|
* -davidt |
| 545 |
|
*/ |
| 546 |
|
void |
| 547 |
< |
sendto_server(struct Client *one, |
| 548 |
< |
struct Channel *chptr, unsigned long caps, |
| 549 |
< |
unsigned long nocaps, |
| 547 |
> |
sendto_server(struct Client *one, const struct Channel *chptr, |
| 548 |
> |
const unsigned int caps, |
| 549 |
> |
const unsigned int nocaps, |
| 550 |
|
const char *format, ...) |
| 551 |
|
{ |
| 552 |
|
va_list args; |
| 731 |
|
* remote to this server. |
| 732 |
|
*/ |
| 733 |
|
void |
| 734 |
< |
sendto_channel_remote(struct Client *one, struct Client *from, int type, int caps, |
| 735 |
< |
int nocaps, struct Channel *chptr, const char *pattern, ...) |
| 734 |
> |
sendto_channel_remote(struct Client *one, struct Client *from, int type, |
| 735 |
> |
const unsigned int caps, const unsigned int nocaps, |
| 736 |
> |
struct Channel *chptr, const char *pattern, ...) |
| 737 |
|
{ |
| 738 |
|
va_list args; |
| 739 |
|
char buffer[IRCD_BUFSIZE]; |