'pargs' gone from set_final_mode - should be correct
This commit is contained in:
parent
8cc12805d7
commit
69986379a7
1 changed files with 0 additions and 5 deletions
|
@ -1170,7 +1170,6 @@ set_final_mode(struct Mode *mode, struct Mode *oldmode)
|
||||||
*mbuf++ = 'k';
|
*mbuf++ = 'k';
|
||||||
len = rb_sprintf(pbuf, "%s ", oldmode->key);
|
len = rb_sprintf(pbuf, "%s ", oldmode->key);
|
||||||
pbuf += len;
|
pbuf += len;
|
||||||
pargs++;
|
|
||||||
}
|
}
|
||||||
if(oldmode->join_num && !mode->join_num)
|
if(oldmode->join_num && !mode->join_num)
|
||||||
{
|
{
|
||||||
|
@ -1200,7 +1199,6 @@ set_final_mode(struct Mode *mode, struct Mode *oldmode)
|
||||||
*mbuf++ = 'l';
|
*mbuf++ = 'l';
|
||||||
len = rb_sprintf(pbuf, "%d ", mode->limit);
|
len = rb_sprintf(pbuf, "%d ", mode->limit);
|
||||||
pbuf += len;
|
pbuf += len;
|
||||||
pargs++;
|
|
||||||
}
|
}
|
||||||
if(mode->key[0] && strcmp(oldmode->key, mode->key))
|
if(mode->key[0] && strcmp(oldmode->key, mode->key))
|
||||||
{
|
{
|
||||||
|
@ -1212,7 +1210,6 @@ set_final_mode(struct Mode *mode, struct Mode *oldmode)
|
||||||
*mbuf++ = 'k';
|
*mbuf++ = 'k';
|
||||||
len = rb_sprintf(pbuf, "%s ", mode->key);
|
len = rb_sprintf(pbuf, "%s ", mode->key);
|
||||||
pbuf += len;
|
pbuf += len;
|
||||||
pargs++;
|
|
||||||
}
|
}
|
||||||
if(mode->join_num && (oldmode->join_num != mode->join_num || oldmode->join_time != mode->join_time))
|
if(mode->join_num && (oldmode->join_num != mode->join_num || oldmode->join_time != mode->join_time))
|
||||||
{
|
{
|
||||||
|
@ -1224,7 +1221,6 @@ set_final_mode(struct Mode *mode, struct Mode *oldmode)
|
||||||
*mbuf++ = 'j';
|
*mbuf++ = 'j';
|
||||||
len = rb_sprintf(pbuf, "%d:%d ", mode->join_num, mode->join_time);
|
len = rb_sprintf(pbuf, "%d:%d ", mode->join_num, mode->join_time);
|
||||||
pbuf += len;
|
pbuf += len;
|
||||||
pargs++;
|
|
||||||
}
|
}
|
||||||
if(mode->forward[0] && strcmp(oldmode->forward, mode->forward) && ConfigChannel.use_forward)
|
if(mode->forward[0] && strcmp(oldmode->forward, mode->forward) && ConfigChannel.use_forward)
|
||||||
{
|
{
|
||||||
|
@ -1236,7 +1232,6 @@ set_final_mode(struct Mode *mode, struct Mode *oldmode)
|
||||||
*mbuf++ = 'f';
|
*mbuf++ = 'f';
|
||||||
len = rb_sprintf(pbuf, "%s ", mode->forward);
|
len = rb_sprintf(pbuf, "%s ", mode->forward);
|
||||||
pbuf += len;
|
pbuf += len;
|
||||||
pargs++;
|
|
||||||
}
|
}
|
||||||
*mbuf = '\0';
|
*mbuf = '\0';
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue