1
0
mirror of https://github.com/moparisthebest/hexchat synced 2024-12-02 22:22:17 -05:00

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

View File

@ -3103,7 +3103,6 @@ urlserv:
else else
*channel = co; *channel = co;
}
/* check for key - mirc style */ /* check for key - mirc style */
co = strchr (co + 1, '?'); co = strchr (co + 1, '?');
if (co) if (co)
@ -3112,6 +3111,7 @@ urlserv:
co++; co++;
*key = co; *key = co;
} }
}
return TRUE; return TRUE;
} }