Very minor simplification/cleanup of is_channel()

This commit is contained in:
Kevin Easton
2019-07-08 17:34:08 +10:00
parent b9803e69d1
commit e347375cb3
3 changed files with 8 additions and 10 deletions

View File

@@ -404,7 +404,7 @@ extern Function_ptr *global;
#define add_completion_type (*(int (*)(char *, int , enum completion ))global[ADD_COMPLETION_TYPE])
/* names.c */
#define is_channel (*(int (*)(char *))global[IS_CHANNEL])
#define is_channel (*(int (*)(const char *))global[IS_CHANNEL])
#define make_channel (*(char *(*)(char *))global[MAKE_CHANNEL])
#define is_chanop (*(int (*)(char *, char *))global[IS_CHANOP])
#define is_halfop (*(int (*)(char *, char *))global[IS_HALFOP])