0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-10-01 13:18:58 +02:00

Moved extern chmode_flags declaration from channel.h to chmode.h, as

it's actually declared in the second one
This commit is contained in:
Valery V Yatsko 2008-08-04 21:51:15 +04:00
parent 458466c6d3
commit 392ae75ca9
3 changed files with 3 additions and 2 deletions

View file

@ -255,8 +255,6 @@ extern void send_cap_mode_changes(struct Client *client_p, struct Client *source
extern void set_channel_mode(struct Client *client_p, struct Client *source_p,
struct Channel *chptr, struct membership *msptr, int parc, const char *parv[]);
extern int chmode_flags[256];
extern struct ChannelMode chmode_table[256];
extern int add_id(struct Client *source_p, struct Channel *chptr, const char *banid,

View file

@ -34,6 +34,8 @@
*/
#define ERR_CUSTOM 1000
extern int chmode_flags[256];
extern void chm_nosuch(struct Client *source_p, struct Channel *chptr,
int alevel, int parc, int *parn,
const char **parv, int *errors, int dir, char c, long mode_type);

View file

@ -26,6 +26,7 @@
#include "stdinc.h"
#include "channel.h"
#include "chmode.h"
#include "client.h"
#include "common.h"
#include "hash.h"