| View previous topic :: View next topic |
| Author |
Message |
lsn Voice
Joined: 19 Jul 2004 Posts: 25
|
Posted: Sat Sep 15, 2007 4:14 am Post subject: * Duplicate user record 'xxxx'! |
|
|
i need help with this problem
i have an users array like
| Code: | | set users(xxxx) "*!*@xxxx.users.undernet.org" |
and
| Code: | foreach user [array names users] {
if {![validuser $user]} {
adduser $user $users($user)
}
} |
and every time the bot got rehash, i get this error and the bot rewrite the original user
| Code: | | * Duplicate user record 'xxxx'! |
How can i solve this ? |
|
| Back to top |
|
 |
nml375 Revered One
Joined: 04 Aug 2006 Posts: 2857
|
Posted: Sat Sep 15, 2007 11:26 am Post subject: |
|
|
Your code looks correct..
I would guess that your userfile has been damaged at some point.
But just to make sure, which version of eggdrop and tcl are you using? _________________ NML_375, idling at #eggdrop@IrcNET |
|
| Back to top |
|
 |
lsn Voice
Joined: 19 Jul 2004 Posts: 25
|
Posted: Sat Sep 15, 2007 1:30 pm Post subject: |
|
|
eggdrop 1.6.18 and tcl 8.4
Hope this helps.
But i get this error on all my eggdrops not just one .. |
|
| Back to top |
|
 |
nml375 Revered One
Joined: 04 Aug 2006 Posts: 2857
|
Posted: Sat Sep 15, 2007 3:35 pm Post subject: |
|
|
Well, your script is not to blame (atleast not directly, in any way).
Even if you were to try and add an already existant user, adduser would know to handle it properly.
You say all your eggies have the same problem.. are they linked with userfile sharing? _________________ NML_375, idling at #eggdrop@IrcNET |
|
| Back to top |
|
 |
lsn Voice
Joined: 19 Jul 2004 Posts: 25
|
Posted: Sat Sep 15, 2007 3:39 pm Post subject: |
|
|
| they are linked but dont share userfile. Each one have his own userfile |
|
| Back to top |
|
 |
|