Skip to content

Commit 7b75f09

Browse files
committed
Fix ProxyIsSocks5 setting not being set correctly
1 parent 652f193 commit 7b75f09

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Diff for: trunk/frmChat.frm

+3-3
Original file line numberDiff line numberDiff line change
@@ -7249,8 +7249,10 @@ Sub ReloadConfig(Optional Mode As Byte = 0)
72497249

72507250
BotVars.UseProxy = Config.UseProxy
72517251
If BotVars.UseProxy And sckBNet.State = sckConnected Then BotVars.ProxyStatus = psOnline
7252+
BotVars.ProxyIP = Config.ProxyIP
72527253
BotVars.ProxyPort = Config.ProxyPort
7253-
BotVars.ProxyIsSocks5 = Config.ProxyType
7254+
BotVars.ProxyIsSocks5 = CBool(StrComp(Config.ProxyType, "SOCKS5", vbTextCompare) = 0)
7255+
72547256
BotVars.NoTray = Not Config.MinimizeToTray
72557257
BotVars.NoAutocompletion = Not Config.NameAutoComplete
72567258
BotVars.NoColoring = Not Config.NameColoring
@@ -7289,8 +7291,6 @@ Sub ReloadConfig(Optional Mode As Byte = 0)
72897291
BotVars.GreetMsg = Config.GreetMessageText
72907292
BotVars.WhisperGreet = Config.WhisperGreet
72917293

7292-
BotVars.ProxyIP = Config.ProxyIP
7293-
72947294
BotVars.ChatDelay = Config.ChatDelay
72957295

72967296
s = Config.GetFilePath("Logs")

0 commit comments

Comments
 (0)