diff --git a/include/supported.h b/include/supported.h index 27d8e07a..2a77f095 100644 --- a/include/supported.h +++ b/include/supported.h @@ -44,5 +44,6 @@ extern const char *isupport_intptr(const void *); extern const char *isupport_boolean(const void *); extern const char *isupport_string(const void *); extern const char *isupport_stringptr(const void *); +extern const char *isupport_umode(const void *); #endif /* INCLUDED_supported_h */ diff --git a/ircd/supported.c b/ircd/supported.c index 3dbbcd66..35c6ea93 100644 --- a/ircd/supported.c +++ b/ircd/supported.c @@ -223,7 +223,7 @@ isupport_stringptr(const void *ptr) return *(char * const *)ptr; } -static const char * +const char * isupport_umode(const void *ptr) { const char *str;