mirror of
https://github.com/irssi/irssi.git
synced 2024-09-15 04:28:09 -04:00
If name tag contains '_', it shouldn't be quoted.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@333 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
7365afddea
commit
0238eeb5e2
@ -76,7 +76,7 @@ static int config_has_specials(const char *text)
|
|||||||
g_return_val_if_fail(text != NULL, FALSE);
|
g_return_val_if_fail(text != NULL, FALSE);
|
||||||
|
|
||||||
while (*text != '\0') {
|
while (*text != '\0') {
|
||||||
if (!isalnum((int) *text))
|
if (!isalnum((int) *text) && *text != '_')
|
||||||
return TRUE;
|
return TRUE;
|
||||||
text++;
|
text++;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user