I found a bug consdering mod/module.h
functions tree redefines.
ginvite_total, gexempt_total places were mixed up. (gexempt_total was ginvite_total, and the other side around).
I found it using a script I made, which reads all eggdrop sources, looking for function/vars declartions, and then reads up module.c tree and give as an output a module.h (with typecasts, comments, etc).
then I compared it to the old module.h (buggy), and saw that bug.
thanks,
Amir S.