mirror of
https://github.com/irssi/irssi.git
synced 2024-12-04 14:46:39 -05:00
Remove unneeded upcasing (level_get matching is case-insensitive).
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4720 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
65f43a705c
commit
40f7904a1a
@ -158,7 +158,6 @@ int combine_level(int dest, const char *src)
|
|||||||
list = g_strsplit(src, " ", -1);
|
list = g_strsplit(src, " ", -1);
|
||||||
for (item = list; *item != NULL; item++) {
|
for (item = list; *item != NULL; item++) {
|
||||||
itemname = *item + (**item == '+' || **item == '-' ? 1 : 0);
|
itemname = *item + (**item == '+' || **item == '-' ? 1 : 0);
|
||||||
g_strup(itemname);
|
|
||||||
itemlevel = level_get(itemname);
|
itemlevel = level_get(itemname);
|
||||||
|
|
||||||
if (strcmp(itemname, "NONE") == 0)
|
if (strcmp(itemname, "NONE") == 0)
|
||||||
|
Loading…
Reference in New Issue
Block a user