Only check for key if there is a channel

This commit is contained in:
TingPing 2013-03-27 02:23:51 -03:00
parent 6ec92de598
commit 62c7a743a7
1 changed files with 9 additions and 9 deletions

View File

@ -3103,14 +3103,14 @@ urlserv:
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;