diff --git a/include/struct.h b/include/struct.h index 2c4a35d71..c58c90f4c 100644 --- a/include/struct.h +++ b/include/struct.h @@ -662,6 +662,8 @@ typedef unsigned int u_int32_t; /* XXX Hope this works! */ #define DCC_LINK_ME 1 /* My dcc allow */ #define DCC_LINK_REMOTE 2 /* I need to remove dccallows from these clients when I die */ +#define ID(sptr) (*sptr->id ? sptr->id : sptr->name) + struct irc_netmask { short int type;