diff options
author | Robin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-11-08 00:21:29 +0000 |
---|---|---|
committer | Robin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-11-08 00:21:29 +0000 |
commit | b8c04482bbbe531e48bb1328d17db8acb1e323a0 (patch) | |
tree | 3a56e0f1771d9aa249215c18a2de17b4e2e60189 /src/modules/hs_request.c | |
parent | e459e5833e10f3de02168ff99f10b28090d90aac (diff) |
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
Diffstat (limited to 'src/modules/hs_request.c')
-rw-r--r-- | src/modules/hs_request.c | 4 |
1 files changed, 2 insertions, 2 deletions
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); } } |