]> jfr.im git - solanum.git/blobdiff - include/s_serv.h
Merge pull request #286 from edk0/strip-unprintable
[solanum.git] / include / s_serv.h
index b8608e6d5c219eba825fd939ecb4b757bea454ba..6808c37e9aa786befbd9cf94f869258986a5e3ae 100644 (file)
@@ -25,7 +25,7 @@
 #ifndef INCLUDED_serv_h
 #define INCLUDED_serv_h
 
-#include "config.h"
+#include "defaults.h"
 #include "capability.h"
 
 /*
@@ -54,8 +54,8 @@ extern struct CapabilityIndex *cli_capindex;
 #define CLICAP_FLAGS_REQACK    0x002
 
 struct ClientCapability {
-       int (*visible)(struct Client *);                        /* whether or not to display the capability.  set to NULL or true return value = displayed */
-       const char *(*data)(struct Client *);                   /* any custom data for the capability.  set to NULL or return NULL = no data */
+       bool (*visible)(struct Client *);               /* whether or not to display the capability.  set to NULL or true return value = displayed */
+       const char *(*data)(struct Client *);           /* any custom data for the capability.  set to NULL or return NULL = no data */
        unsigned int flags;
 };