Add one more const.
This commit is contained in:
parent
d9af501aa8
commit
fe74401bf0
2 changed files with 3 additions and 3 deletions
|
@ -225,8 +225,8 @@ extern int is_banned(struct Channel *chptr, struct Client *who,
|
||||||
struct membership *msptr, const char *, const char *, const char **);
|
struct membership *msptr, const char *, const char *, const char **);
|
||||||
extern int is_quieted(struct Channel *chptr, struct Client *who,
|
extern int is_quieted(struct Channel *chptr, struct Client *who,
|
||||||
struct membership *msptr, const char *, const char *);
|
struct membership *msptr, const char *, const char *);
|
||||||
extern int can_join(struct Client *source_p, struct Channel *chptr, char *key,
|
extern int can_join(struct Client *source_p, struct Channel *chptr,
|
||||||
const char **forward);
|
const char *key, const char **forward);
|
||||||
|
|
||||||
extern struct membership *find_channel_membership(struct Channel *, struct Client *);
|
extern struct membership *find_channel_membership(struct Channel *, struct Client *);
|
||||||
extern const char *find_channel_status(struct membership *msptr, int combine);
|
extern const char *find_channel_status(struct membership *msptr, int combine);
|
||||||
|
|
|
@ -664,7 +664,7 @@ is_quieted(struct Channel *chptr, struct Client *who, struct membership *msptr,
|
||||||
* caveats - this function should only be called on a local user.
|
* caveats - this function should only be called on a local user.
|
||||||
*/
|
*/
|
||||||
int
|
int
|
||||||
can_join(struct Client *source_p, struct Channel *chptr, char *key, const char **forward)
|
can_join(struct Client *source_p, struct Channel *chptr, const char *key, const char **forward)
|
||||||
{
|
{
|
||||||
rb_dlink_node *invite = NULL;
|
rb_dlink_node *invite = NULL;
|
||||||
rb_dlink_node *ptr;
|
rb_dlink_node *ptr;
|
||||||
|
|
Loading…
Reference in a new issue