summaryrefslogtreecommitdiff
path: root/src/core/modules.c
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2001-06-04 18:40:50 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2001-06-04 18:40:50 +0000
commitf079263035a71e3f97cc7f3c5ebe96ffdba51483 (patch)
tree808a6adab28cb95b897f85926cdcae0aa4c6cb36 /src/core/modules.c
parentaf7c5fd221fab536fcadcb24cd2e62063d4dbcad (diff)
downloadirssi-f079263035a71e3f97cc7f3c5ebe96ffdba51483.zip
/LOAD: when using '.' character in module name irssi printed glib error
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1537 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/core/modules.c')
-rw-r--r--src/core/modules.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/modules.c b/src/core/modules.c
index 0dac04ae..a76b6765 100644
--- a/src/core/modules.c
+++ b/src/core/modules.c
@@ -239,7 +239,7 @@ static char *module_get_name(const char *path, int *start, int *end)
*start = (int) (name-path);
*end = *start + (ptr == NULL ? strlen(name) :
- (int) (module_name-ptr));
+ (int) (ptr-module_name));
return module_name;
}