From f079263035a71e3f97cc7f3c5ebe96ffdba51483 Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Mon, 4 Jun 2001 18:40:50 +0000 Subject: [PATCH] /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 --- src/core/modules.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }