mirror of
https://github.com/moparisthebest/hexchat
synced 2024-11-26 03:02:17 -05:00
Only check for key if there is a channel
This commit is contained in:
parent
6ec92de598
commit
62c7a743a7
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user