1
0
mirror of https://github.com/unrealircd/unrealircd.git synced 2026-07-10 18:03:13 +02:00

- add ID() macro for SID vs UID

This commit is contained in:
William Pitcock
2013-05-23 08:18:09 +00:00
parent 37b6a3e919
commit c61d4c9079
+2
View File
@@ -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;