git-svn-id: svn://svn.ircd-hybrid.org/svnroot/hopm/branches/1.1.x@6288
82007160-df01-0410-b94d-
b575c5fd34c7
const char *data;
} table[] =
{
- { 'i', NULL },
- { 'h', NULL },
- { 'u', NULL },
- { 'n', NULL },
- { 't', NULL },
- { '\0', NULL }
+ { 'i', ss->ip },
+ { 'h', ss->irc_hostname },
+ { 'u', ss->irc_username },
+ { 'n', ss->irc_nick },
+ { 't', type },
+ { '\0', NULL }
};
- table[0].data = ss->ip;
- table[1].data = ss->irc_hostname;
- table[2].data = ss->irc_username;
- table[3].data = ss->irc_nick;
- table[4].data = type;
-
/*
* Copy format to message character by character, inserting any matching
* data after %.