[JDEV] Setting karma to disabled
Harold E. Gottschalk Jr.
heg at sirlabs.com
Wed May 2 20:40:24 CDT 2001
Dustin,
I spent most of my day looking through the jabberd code and found some code
that was misleading mio.c that I will present later after I come up with a
fix.
If you set the following you will disable karma, go to the service c2s and
set the <dec> to zero there.
<service id="c2s">
<load>
<pthsock_client>./pthsock/pthsock_client.so</pthsock_client>
</load>
<pthcsock xmlns='jabber:config:pth-csock'>
<authtime/>
<karma>
<init>10</init>
<max>10</max>
<inc>1</inc>
<dec>0</dec>
<penalty>-6</penalty>
<restore>10</restore>
</karma>
I did this and it worked for me. If it does not work then I might have
fixed something in mio.c that made it work. But the hacks I did there did
not make it work unil I played with the above karma. I played with the
karma in <io> to no avail.
I hope this helps you out.
heg
"If at first the idea is not absurd, then there is no hope for it." - Albert
Einstein
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.jabber.org/jdev/attachments/20010502/b1e82db6/attachment-0002.htm>
More information about the JDev
mailing list