flakes / mirc_fish_10

"FiSH 10" - a blowfish encryption script for mIRC 7, compatible to previous FiSH scripts and other clients! Come visit us in #fish10 on EFNet!
https://syndicode.org/fish_10/
86 stars 16 forks source link

mirc_fish_10-with-ssl-2010-06-12 set up keys twice for same contact #15

Closed Anti-You closed 14 years ago

Anti-You commented 14 years ago

Technical infos:

Hi flakes,

I recognized following issue with the newest test-build: When I want to use "Set Key" in a channel or in a private-chat, then FiSh saves 2 entries for that regarding contact. One with $network and one without it.

Example:

Network: Quakenet Channel: #test using Set Key, blow.ini will then save those 2 entries:

[QuakeNet:#test]
key=+OK TaFzr0u6b3U1
date=12/06/2010
[#test]
key=+OK TaFzr0u6b3U1
date=12/06/2010

This also happens, when I just execute this command: $dll(%FiSH_dll,FiSH_WriteKey10,$1 $network #test some.test.key)

Because of that multiple server support in FiSh does not work.

Can someone approve that?

flakes commented 14 years ago

That's by design. It's how it's supposed to work if no_legacy isn't 1. This way, blow.ini files updated by FiSH 10 can still be used by older FiSH scripts.

I dunno why this would mean that "it doesn't work" (the $network:$contact entry is always read first)

Anti-You commented 14 years ago

Ahh, it's a feature, not a bug ;-).

Ok, I checked that again and explicitly took a look at that "no_legacy"-option. Because it works now flawlessly on my second try, so I guess I forgot to rename the blow.ini-EXAMPLE file.

Sry flakes, my mistake ;-/.