dequis · GitHub

@osm

dequis

/* only escape if we find either \\r or \\n in the nick */
if (l->data != NULL &&
(strstr(l->data, "\\r") != NULL ||
strstr(l->data, "\\n") != NULL)) {

LemonBoy

}
}

/* Escape all '"', "'" and '\' chars with '\' */
return NULL;

/* escape if the word doesn't begin with '/' and expand_escapes are turned on */
data = *line != '/' && settings_get_bool("expand_escapes") ?

/* word completed */
*pos = startpos+strlen(complist->data);
*pos = startpos+strlen(data);
g_string_free(result, FALSE);

/* free data if we have been escaping something */
if (data != complist->data)

Merged

@osm

@osm

@osm osm changed the title Escape \r and \n from nicks when expand_escapes is enabled Escape nicks during nick completion when expand_escapes is enabled

Jun 21, 2017

@ailin-nemui

Closed

@jwilk jwilk mentioned this pull request

Nov 12, 2018

Closed

Read the original on github.com ↗