From 308070e01971b0cfaf77de20011f48ce4d6b5a1c Mon Sep 17 00:00:00 2001 From: Adam- Date: Thu, 4 Feb 2010 23:49:27 +0000 Subject: We now store a list of users using a NickCore in the NickCore, this prevents having to loop every user all the time to find them git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2780 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 784fcc59d..84f19806c 100644 --- a/src/modules/hs_request.c +++ b/src/modules/hs_request.c @@ -732,8 +732,8 @@ void my_memo_lang(User *u, const char *name, int z, int number, ...) u2 = finduser(name); /* Find the users lang, and use it if we cant */ - if (u2 && u2->nc) - lang = u2->nc->language; + if (u2 && u2->Account()) + lang = u2->Account()->language; /* If the users lang isnt supported, drop back to enlgish */ if (!me->lang[lang].argc) -- cgit