escape_target() didn't escape / chars properly, it just crashed irssi..

git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1793 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Timo Sirainen 2001-09-11 18:20:10 +00:00 committed by cras
commit 5360b3eaaf

View file

@ -390,8 +390,10 @@ static char *escape_target(const char *target)
else {
if (*target == '%')
*p++ = '%';
*p++ = *target++;
*p++ = *target;
}
target++;
}
*p = '\0';