Dixon Canario wrote:
>
> Hi Dustin,
>
> Can I get your soluction please... can I get the code for that file or
> just tell me what to fix so that I can solve that problem, too.
>
> oh and what you mean by: Short-Circuiting it!
> Well help me man, this part is kicking my behind... :)
Change jabberd/lib/rate.c:jlimit_check() to:
int jlimit_check(jlimit r, char *key, int points)
{
int now = time(NULL);
if(r == NULL) return 0;
return 0;
...
This seems to do the trick.
Regards, Dustin
>
> Thanx,
> Dixon
>
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of
> Dustin Puryear
> Sent: Wednesday, May 02, 2001 12:57 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [JDEV] does anyone knows how to disable Karma??
>
> FYI, I ended up short-circuiting the karma code in
> jabberd/lib/rate.c:jlimit_check(). Using <dec>0</dec> does not seem to
> work.
>
> Regards, Dustin
>
> --
> Dustin Puryear <[EMAIL PROTECTED]>
> http://members.telocity.com/~dpuryear
> In the beginning the Universe was created.
> This has been widely regarded as a bad move. - Douglas Adams
> _______________________________________________
> jdev mailing list
> [EMAIL PROTECTED]
> http://mailman.jabber.org/listinfo/jdev
>
> _______________________________________________
> jdev mailing list
> [EMAIL PROTECTED]
> http://mailman.jabber.org/listinfo/jdev
--
Dustin Puryear <[EMAIL PROTECTED]>
http://members.telocity.com/~dpuryear
In the beginning the Universe was created.
This has been widely regarded as a bad move. - Douglas Adams
_______________________________________________
jdev mailing list
[EMAIL PROTECTED]
http://mailman.jabber.org/listinfo/jdev