From 69986379a72d4de61f4b4063d7ad7a69729cdc5b Mon Sep 17 00:00:00 2001 From: Valery Yatsko Date: Mon, 7 Apr 2008 19:05:29 +0400 Subject: [PATCH] 'pargs' gone from set_final_mode - should be correct --- modules/core/m_join.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/modules/core/m_join.c b/modules/core/m_join.c index 1b8120a9..d4b10361 100644 --- a/modules/core/m_join.c +++ b/modules/core/m_join.c @@ -1170,7 +1170,6 @@ set_final_mode(struct Mode *mode, struct Mode *oldmode) *mbuf++ = 'k'; len = rb_sprintf(pbuf, "%s ", oldmode->key); pbuf += len; - pargs++; } if(oldmode->join_num && !mode->join_num) { @@ -1200,7 +1199,6 @@ set_final_mode(struct Mode *mode, struct Mode *oldmode) *mbuf++ = 'l'; len = rb_sprintf(pbuf, "%d ", mode->limit); pbuf += len; - pargs++; } if(mode->key[0] && strcmp(oldmode->key, mode->key)) { @@ -1212,7 +1210,6 @@ set_final_mode(struct Mode *mode, struct Mode *oldmode) *mbuf++ = 'k'; len = rb_sprintf(pbuf, "%s ", mode->key); pbuf += len; - pargs++; } 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'; len = rb_sprintf(pbuf, "%d:%d ", mode->join_num, mode->join_time); pbuf += len; - pargs++; } 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'; len = rb_sprintf(pbuf, "%s ", mode->forward); pbuf += len; - pargs++; } *mbuf = '\0'; }