summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--src/common/outbound.c18
-rw-r--r--src/fe-text/fe-text.c2
2 files changed, 11 insertions, 9 deletions
diff --git a/src/common/outbound.c b/src/common/outbound.c
index c543997a..a0daaa9c 100644
--- a/src/common/outbound.c
+++ b/src/common/outbound.c
@@ -3102,15 +3102,15 @@ urlserv:
 				*channel = co+1;
 			else
 				*channel = co;
-			
-		}
-		/* check for key - mirc style */
-		co = strchr (co + 1, '?');
-		if (co)
-		{
-			*co = 0;
-			co++;
-			*key = co;
+				
+			/* check for key - mirc style */
+			co = strchr (co + 1, '?');
+			if (co)
+			{
+				*co = 0;
+				co++;
+				*key = co;
+			}	
 		}
 			
 		return TRUE;
diff --git a/src/fe-text/fe-text.c b/src/fe-text/fe-text.c
index 74496cff..2e22ef38 100644
--- a/src/fe-text/fe-text.c
+++ b/src/fe-text/fe-text.c
@@ -654,10 +654,12 @@ fe_chan_list_end (struct server *serv)
 gboolean
 fe_add_ban_list (struct session *sess, char *mask, char *who, char *when, int rplcode)
 {
+	return 0;
 }
 gboolean
 fe_ban_list_end (struct session *sess, int rplcode)
 {
+	return 0;
 }
 void
 fe_notify_update (char *name)