mirror of
https://github.com/irssi/irssi.git
synced 2024-12-04 14:46:39 -05:00
Since the fe-common modules are named fe_common_$protocol, the module loader
should also check for these files. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4298 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
e76afb528d
commit
7602b7eff5
@ -130,7 +130,7 @@ static char **module_prefixes_get(void)
|
||||
char **list, *name;
|
||||
int count;
|
||||
|
||||
list = g_new(char *, 2 + 2*g_slist_length(chat_protocols));
|
||||
list = g_new(char *, 2 + 3*g_slist_length(chat_protocols));
|
||||
list[0] = "fe";
|
||||
|
||||
count = 1;
|
||||
@ -142,6 +142,7 @@ static char **module_prefixes_get(void)
|
||||
|
||||
list[count++] = name;
|
||||
list[count++] = g_strconcat("fe_", name, NULL);
|
||||
list[count++] = g_strconcat("fe_common_", name, NULL);
|
||||
}
|
||||
list[count] = NULL;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user