eggdrop icon indicating copy to clipboard operation
eggdrop copied to clipboard

INFO line doesn't propogate across shared userfile

Open vanosg opened this issue 10 years ago • 2 comments

...until after a relink.

.info hello
Your default info is now: hello

.whois testuser
HANDLE                           PASS NOTES FLAGS           LAST
testuser                         no       0 -               03:38 (partyline)
  INFO: hello

On the other bot:

.whois testuser
HANDLE                           PASS NOTES FLAGS           LAST
testuser                         no       0 -               19:10 (@testbot)

After .unlink/.link, the INFO line appears. I think this functionality should propagate at the time of occurrence, rather than new transfer?

vanosg avatar Dec 21 '15 03:12 vanosg

Further investigation- it does propogate if you have share-greet set to 1 in the config file (disabled by default). However, this yields a different bug, in that if you relink bots with share-greet set to 0, the INFO line is still shared when it should not be.

vanosg avatar Dec 24 '15 16:12 vanosg

Further investigation with current eggdrop git version 5182a229e7042a75fcf2c3c5bbf9835a90bad90d (20201102):

BotA = Share-Hub BotB = Share-Leaf BotA and BotB: share-greet 1

  1. After .link: BotB does NOT have the INFO fields that BotA has. Please ack, that this is a bug.
  2. After .chinfo testuser foo on BotA: BotB does have the INFO field BotA has. OK, as expected.
  3. After relinking and resharing userfile: BotB does have the INFO fields that BotA has. OK, as expected.

(3.) depends on not restarting BotA after changing INFO field on BotA. if BotA is restarted (1.) happens instead.

michaelortmann avatar Nov 09 '20 23:11 michaelortmann