diff options
author | Jochen Eisinger <c0ffee@irssi.org> | 2006-07-18 20:07:16 +0000 |
---|---|---|
committer | c0ffee <c0ffee@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2006-07-18 20:07:16 +0000 |
commit | 7602b7eff585bae510d52d6757117637f3b89c7f (patch) | |
tree | 7b32e487e88036c8e169185222d57ca4b672b701 /src/fe-common | |
parent | e76afb528d2e56f1b228249b1b8def2cdd9c9230 (diff) | |
download | irssi-7602b7eff585bae510d52d6757117637f3b89c7f.zip |
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
Diffstat (limited to 'src/fe-common')
-rw-r--r-- | src/fe-common/core/fe-modules.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/fe-common/core/fe-modules.c b/src/fe-common/core/fe-modules.c index 5bbcf0b5..3c3c9790 100644 --- a/src/fe-common/core/fe-modules.c +++ b/src/fe-common/core/fe-modules.c @@ -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; |