Code: Select all
if (strlen(hand) > HANDLEN)
hand[HANDLEN] = 0;
Thanx for help. I`ve heard that even numbers of eggie r stable and odds r testin` version. So i`ve recompiled it again from 1.6.12 and now everythin` works fine. Thanx again mate.ppslim wrote:Re-compile your bot. It seems you are using modules from a previous version, where the HANDLEN is set to 9
src/mod/irc.mod/cmdsirc.c:1022When using the adduser command, this will check if the handle required (after determining if you specified one, or it should use the nickname) is over HANDLEN in size.Code: Select all
if (strlen(hand) > HANDLEN) hand[HANDLEN] = 0;
If so, then it simply drops the rest of the data.
If you are only getting 9 chars allowed, then the check above is only using a HANDLEN of 9.
Make sue you run "make clean" before starting the compile process.