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 adds deleted flags again

General support and discussion of Eggdrop bots.
Post Reply
c
cerberus_gr
Halfop
Posts: 97
Joined: Fri Feb 07, 2003 8:57 am
Location: 127.0.0.1

Eggdrop adds deleted flags again

Post by cerberus_gr »

Hello,

I have a user in my eggdrop with handle xxxx. I added him a month ago, with +n global flag, +n to #chan1 and +m to #chan2. A week before i removed all global flags and i gave him only +p global flag, but i kept channel flags. After some hours I saw that he had +n flag again, even if i have done .save. I'm trying a week now to give him only +p flag, but some hours ago, flags are +n. Why does this happens?
I have to say that I am the only owner in this bot and it 's not linked with any other.

This is a log:

Code: Select all

[18:16:12] <Botnick> Global flags for xxxx are now +p.
[18:16:27] <Me> .save
[18:16:28] <Botnick> Saving user file...
[18:17:44] <Me> .match xxxx
[18:17:45] <Botnick> *** Matching 'xxxx':
[18:17:45] <Botnick> HANDLE                           PASS NOTES FLAGS           LAST
[18:17:45] <Botnick> xxxx                             yes      0 p               18:00 (#chan2)
[18:17:45] <Botnick>                          #chan1             lmo             14:13
[18:17:45] <Botnick>                          #chan2             flmo            18:00

Some hours later:
[05:21:26] <Botnick> *** Matching 'xxxx':
[05:21:26] <Botnick> HANDLE                           PASS NOTES FLAGS           LAST
[05:21:26] <Botnick> xxxx                             yes      0 jlmnoptx        02:53 (#chan1)
[05:21:26] <Botnick>                          #chan1             lmo             02:53
[05:21:26] <Botnick>                          #chan2             flmo            02:53
Thx
User avatar
Alchera
Revered One
Posts: 3344
Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:

Post by Alchera »

Simple solution is to just delete him alltogether ".-user <handle>" and then re-add with correct flags.

You could also double check your conf for the "set owner" options and default flags.
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
c
cerberus_gr
Halfop
Posts: 97
Joined: Fri Feb 07, 2003 8:57 am
Location: 127.0.0.1

Post by cerberus_gr »

Thx for the reply.

$owner is only me
default flags are ""

:(
User avatar
Linux
Halfop
Posts: 71
Joined: Sun Apr 04, 2004 4:20 pm
Location: Under The Sky

Post by Linux »

cerberus_gr wrote:Thx for the reply.

$owner is only me
default flags are ""

:(
There's nothing to worry about, just READ the guidelines mention in your '.conf' file, have a look:

Code: Select all

# Enter the flags that all new users should get by default. See '.help whois'
# on the partyline for a list of flags and their descriptions.
set default-flags ""
Just enter the flags which you wish to set as default flags, example:

Code: Select all

set default-flags "fo"
more type '.help whois' in the partyline and read the flags descriptions.
I'm an idiot, At least this one [bug] took about 5 minutes to find...
User avatar
Alchera
Revered One
Posts: 3344
Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:

Post by Alchera »

cerberus_gr wrote:Thx for the reply.

$owner is only me
default flags are ""

:(
Your default flags are ok although many scripts use +f to determine who not to punish.
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
c
cerberus_gr
Halfop
Posts: 97
Joined: Fri Feb 07, 2003 8:57 am
Location: 127.0.0.1

Post by cerberus_gr »

Thx for replies both of you.

I know what default flags are. I have my bot for 3 years. I want default-flags to be "", because sometimes I add people with other global flags. In bot databse, I have spammers too ;), so I don't want to have +f flag as default.

This person (xxxx) today has +n global flag again. I don't know what else I could do :(

The only thing I could though is unix permissions to .user* files but these are rwx for me.

Which is the problem over here? :(

Thx
User avatar
Alchera
Revered One
Posts: 3344
Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:

Post by Alchera »

Is a weird one that I have never come across before. Attributes for both the .user and .chan files are 600. You can check that and reset if needed and then try removing those flags again and then wait.

If all that fails then do as I suggested earlier, delete the user and re-add.
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
c
cerberus_gr
Halfop
Posts: 97
Joined: Fri Feb 07, 2003 8:57 am
Location: 127.0.0.1

Post by cerberus_gr »

Yes this is weird and it's the first time i see something like this too :P
I'll try to delete him and add him again and i'll tell you tomorrow :)

Thx for your time :)
Post Reply