From 62c7a743a7f19140c725bac9cfe22862cc236f1e Mon Sep 17 00:00:00 2001 From: TingPing Date: Wed, 27 Mar 2013 02:23:51 -0300 Subject: [PATCH] Only check for key if there is a channel --- src/common/outbound.c | 18 +++++++++--------- 1 file changed, 9 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;