raoergsls / miranda

Automatically exported from code.google.com/p/miranda
0 stars 1 forks source link

IRC Channel Manager Updates Password/Limit When Not Changed #425

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Miranda Version: 8.10
Unicode Build: Yes

Change Topic in IRC and password will -k+k * pass even if password never
changed.

Needs two lines added in windows.cpp:
void CManagerDlg::InitManager( int mode, const TCHAR* window )

See file at lines 69 and 79

Since I don't know if theres a IRC dev anymore I'm just posting it here
hoping it gets added as I don't want to rebuild the dll every time miranda
updates

Original issue reported on code.google.com by gru...@gmail.com on 3 Dec 2009 at 9:57

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by alex.zif...@gmail.com on 3 Dec 2009 at 10:03

GoogleCodeExporter commented 9 years ago
grulin,
could you explain us what means "password will -k+k * pass even if password 
never
changed" on proper english?

Original comment by igor.abakumov on 3 Dec 2009 at 11:35

GoogleCodeExporter commented 9 years ago
When you change the topic of the channel for instance, it will also send the 
command
/mode #chan -k+k * password which removes the channel password, then set the 
password
back again.

This is not suppose to happen unless you actually change the channel's password 
or
limit, but because during the void CManagerDlg::InitManager( int mode, const 
TCHAR*
window ) function it sets the textboxes that contain the channel password and 
channel
limit to their current values, it also triggers the OnChange event that 
shouldn't
normally occur until after the channel manager is fully initialized.

Does that help?

Original comment by gru...@gmail.com on 3 Dec 2009 at 11:53