]> jfr.im git - solanum.git/blobdiff - include/s_serv.h
ircd: fix up some iwarn() calls which referred to L_MAIN
[solanum.git] / include / s_serv.h
index 94e46a47a3b9fba5643f215b73c9bf5195d07773..b8608e6d5c219eba825fd939ecb4b757bea454ba 100644 (file)
@@ -20,8 +20,6 @@
  *  along with this program; if not, write to the Free Software
  *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307
  *  USA
- *
- *  $Id: s_serv.h 1863 2006-08-27 13:40:37Z jilles $
  */
 
 #ifndef INCLUDED_serv_h
@@ -56,14 +54,13 @@ extern struct CapabilityIndex *cli_capindex;
 #define CLICAP_FLAGS_REQACK    0x002
 
 struct ClientCapability {
-       int (*visible)(void);                   /* whether or not to display the capability.  set to NULL or true return value = displayed */
-       const char *(*data)(void);              /* any custom data for the capability.  set to NULL or return NULL = no data */
+       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 */
        unsigned int flags;
 };
 
 /* builtin client capabilities */
 extern unsigned int CLICAP_MULTI_PREFIX;
-extern unsigned int CLICAP_SASL;
 extern unsigned int CLICAP_ACCOUNT_NOTIFY;
 extern unsigned int CLICAP_EXTENDED_JOIN;
 extern unsigned int CLICAP_AWAY_NOTIFY;