summary refs log tree commit diff stats
path: root/src/common/proto-irc.c
diff options
context:
space:
mode:
authorTingPing <tingping@tingping.se>2014-12-31 10:24:51 -0500
committerTingPing <tingping@tingping.se>2014-12-31 10:24:51 -0500
commit1fa4a000e7e1855e1d99bd6fbbb8067df8e90839 (patch)
tree38c6985be0f664828e6d55a0535dc3fb20958792 /src/common/proto-irc.c
parent448cc962cd019adc31e28eb4f96d3b1fad5d6efc (diff)
Fix some unused warnings
Diffstat (limited to 'src/common/proto-irc.c')
-rw-r--r--src/common/proto-irc.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/common/proto-irc.c b/src/common/proto-irc.c
index f6b7cd9f..cdab4c21 100644
--- a/src/common/proto-irc.c
+++ b/src/common/proto-irc.c
@@ -816,10 +816,7 @@ process_numeric (session * sess, int n,
 	case 349:	/* end of exemption list */
 		sess = find_channel (serv, word[4]);
 		if (!sess)
-		{
-			sess = serv->front_session;
 			goto def;
-		}
 		if (!fe_ban_list_end (sess, 349))
 			goto def;
 		break;
@@ -844,10 +841,7 @@ process_numeric (session * sess, int n,
 	case 368:
 		sess = find_channel (serv, word[4]);
 		if (!sess)
-		{
-			sess = serv->front_session;
 			goto def;
-		}
 		if (!fe_ban_list_end (sess, 368))
 			goto def;
 		break;