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:
@@ -406,7 +406,7 @@ char buffer[BIG_BUFFER_SIZE+1];
|
||||
}
|
||||
modelock++;
|
||||
}
|
||||
if (chan && chan->chop && buffer)
|
||||
if (chan && chan->have_op && buffer)
|
||||
send_to_server("MODE %s %s", chan->channel, buffer);
|
||||
new_free(&save);
|
||||
new_free(&save1);
|
||||
|
||||
Reference in New Issue
Block a user