Add one more const.

This commit is contained in:
Jilles Tjoelker 2012-01-08 16:25:34 +01:00
parent d9af501aa8
commit fe74401bf0
2 changed files with 3 additions and 3 deletions

View file

@ -225,8 +225,8 @@ extern int is_banned(struct Channel *chptr, struct Client *who,
struct membership *msptr, const char *, const char *, const char **);
extern int is_quieted(struct Channel *chptr, struct Client *who,
struct membership *msptr, const char *, const char *);
extern int can_join(struct Client *source_p, struct Channel *chptr, char *key,
const char **forward);
extern int can_join(struct Client *source_p, struct Channel *chptr,
const char *key, const char **forward);
extern struct membership *find_channel_membership(struct Channel *, struct Client *);
extern const char *find_channel_status(struct membership *msptr, int combine);

View file

@ -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.
*/
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 *ptr;