Put back use_forward.

This commit is contained in:
Jilles Tjoelker 2011-09-25 16:22:29 +02:00
parent 93fbe9c349
commit 2da6f6ebd7
11 changed files with 47 additions and 6 deletions

View file

@ -1125,7 +1125,8 @@ set_final_mode(struct Mode *mode, struct Mode *oldmode)
len = rb_sprintf(pbuf, "%d:%d ", mode->join_num, mode->join_time);
pbuf += len;
}
if(mode->forward[0] && strcmp(oldmode->forward, mode->forward))
if(mode->forward[0] && strcmp(oldmode->forward, mode->forward) &&
ConfigChannel.use_forward)
{
if(dir != MODE_ADD)
{