This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

eggdrop 1.6.8 bug

Old posts that have not been replied to for several years.
Locked
f
freejazz

Post by freejazz »

Hi to all eggdrop experts there. Maybe i am missing something, but there seems to be a bug in the latest release eggdrop1.6.8.
It's with the functions nick2hand, adduser (release notes says they improved nick2hand speed...kinda strange dont you think ?)

Look at this simple tcl script , which adds a record user with a given nick
########################################################################
#!/usr/bin/tclsh

bind dcc - bug buggy
proc buggy {hdl idx nick} {
set uhost [getchanhost $nick ]
if {$uhost == ""} {
putdcc $idx "User: $nick doesnt exist on any chan"
return
}
if {![adduser $nick [maskhost "$nick!$uhost"]]} {
putdcc $idx "(notice: user $nick already exists in userfile)"
}
set h [nick2hand $nick]
putdcc $idx $h
}
########################################################################

Now look at the behaviour with eggdrop1.6.6 (which seems correct to me)
----------------------------------------
.deluser joe
Deleted joe.
[14:16] #jer# deluser joe [joe]
.bug joe
joe
.bug joe
(notice: user joe already exists in userfile)
joe
----------------------------------------
Thats just exactly what we expected didn't we ?

And now just have a look at what happens with egg1.6.8
----------------------------------------
[14:28] TheB1t joined #lame.
.deluser joe
Deleted joe.
[14:29] #jer# deluser joe [joe]
.bug joe
*
.bug joe
(notice: user joe already exists in userfile)
*
.channel
[14:29] #jer# (#lame) channel
Channel #lame, 2 members, mode +:
(n = owner, m = master, o = op, d = deop, b = bot)
NICKNAME HANDLE JOIN IDLE USER@HOST
TheB1t * 14:28 <- it's me!
@joe joe --- a@10.0.0.4
End of channel info.
.bug joe
(notice: user joe already exists in userfile)
joe
----------------------------------------


Notice that everything becomes OK if i type ".channel"
Notice too, that the behaviour with the adduser command is ok as far as i send it at the console (NOT in a tcl)

Thanks for any reply.
Jerome
g
guppy
eggdrop engineer
Posts: 199
Joined: Mon Sep 24, 2001 8:00 pm
Location: Canada
Contact:

Post by guppy »

This is my fault -- I will release an official patch tomorrow to fix these problems. For now, you could run the 1.6.9 cvs because they have been fixed in there.

Jeff
Locked