From b8c04482bbbe531e48bb1328d17db8acb1e323a0 Mon Sep 17 00:00:00 2001 From: "Robin Burchell w00t@inspircd.org" Date: Sat, 8 Nov 2008 00:21:29 +0000 Subject: This compiles. I have absolutely no idea if it works. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1579 5417fbe8-f217-4b02-8779-1006273d7864 --- src/modules/hs_request.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/modules/hs_request.c') diff --git a/src/modules/hs_request.c b/src/modules/hs_request.c index 2fe05ecf6..16135568b 100644 --- a/src/modules/hs_request.c +++ b/src/modules/hs_request.c @@ -256,7 +256,7 @@ void my_memo_lang(User * u, char *name, int z, int number, ...) if ((mod_current_module_name) && (!mod_current_module - || strcmp(mod_current_module_name, mod_current_module->name))) + || mod_current_module_name != mod_current_module->name)) mod_current_module = findModule(mod_current_module_name); u2 = finduser(name); @@ -288,7 +288,7 @@ void my_memo_lang(User * u, char *name, int z, int number, ...) } free(buf); } else { - alog("%s: INVALID language string call, language: [%d], String [%d]", mod_current_module->name, lang, number); + alog("%s: INVALID language string call, language: [%d], String [%d]", mod_current_module->name.c_str(), lang, number); } } -- cgit