summaryrefslogtreecommitdiff
path: root/include/channel.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/channel.h')
-rw-r--r--include/channel.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/channel.h b/include/channel.h
index 88cb5a0..a922715 100644
--- a/include/channel.h
+++ b/include/channel.h
@@ -117,7 +117,7 @@ extern dlink_list global_channel_list;
extern int check_channel_name(const char *, int);
extern int can_send(struct Channel *, struct Client *, struct Membership *);
extern int is_banned(const struct Channel *, const struct Client *);
-extern const char *can_join(struct Client *, struct Channel *, const char *);
+extern int can_join(struct Client *, struct Channel *, const char *);
extern int has_member_flags(struct Membership *, unsigned int);
extern void remove_ban(struct Ban *, dlink_list *);