Far-reaching changes to make BitchX compatible with 64 bit architectures
like x86-64, where sizeof(int) != sizeof (void *). This involves correctly casting every function pointer from the global table to the correct function type, which has the added benefit of allowing type-checking of function arguments and return values. git-svn-id: svn://svn.code.sf.net/p/bitchx/code/trunk@26 13b04d17-f746-0410-82c6-800466cd88b0
This commit is contained in:
@@ -378,7 +378,7 @@ UserList *tmp = NULL;
|
||||
{
|
||||
NickList *n = NULL;
|
||||
n = find_nicklist_in_channellist(nick, chan, 0);
|
||||
if (!n && chan->chop && get_cset_int_var(chan->csets, AINV_CSET) && (tmp->flags & ADD_INVITE) && get_cset_int_var(chan->csets, AINV_CSET))
|
||||
if (!n && chan->have_op && get_cset_int_var(chan->csets, AINV_CSET) && (tmp->flags & ADD_INVITE) && get_cset_int_var(chan->csets, AINV_CSET))
|
||||
{
|
||||
bitchsay("Auto-inviting %s to %s", nick, chan->channel);
|
||||
send_to_server("NOTICE %s :Auto-invite from %s", nick, get_server_nickname(from_server));
|
||||
|
||||
Reference in New Issue
Block a user