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:
@@ -1267,7 +1267,7 @@ void set_channel_limit(ChannelList *channel, int currentlimit, int add, int numu
|
||||
|
||||
void check_channel_limit(ChannelList *chan)
|
||||
{
|
||||
if (chan && chan->csets && chan->csets->set_auto_limit && chan->chop)
|
||||
if (chan && chan->csets && chan->csets->set_auto_limit && chan->have_op)
|
||||
{
|
||||
int count = 0;
|
||||
NickList *nick;
|
||||
|
||||
Reference in New Issue
Block a user