Skip to content
Permalink
Browse files

Fix ProxyIsSocks5 setting not being set correctly

  • Loading branch information...
Davnit committed Jul 6, 2016
1 parent 652f193 commit 7b75f096daa1195a342e730ff76893244504db85
Showing with 3 additions and 3 deletions.
  1. +3 −3 trunk/frmChat.frm
@@ -7249,8 +7249,10 @@ Sub ReloadConfig(Optional Mode As Byte = 0)

BotVars.UseProxy = Config.UseProxy
If BotVars.UseProxy And sckBNet.State = sckConnected Then BotVars.ProxyStatus = psOnline
BotVars.ProxyIP = Config.ProxyIP
BotVars.ProxyPort = Config.ProxyPort
BotVars.ProxyIsSocks5 = Config.ProxyType
BotVars.ProxyIsSocks5 = CBool(StrComp(Config.ProxyType, "SOCKS5", vbTextCompare) = 0)

BotVars.NoTray = Not Config.MinimizeToTray
BotVars.NoAutocompletion = Not Config.NameAutoComplete
BotVars.NoColoring = Not Config.NameColoring
@@ -7289,8 +7291,6 @@ Sub ReloadConfig(Optional Mode As Byte = 0)
BotVars.GreetMsg = Config.GreetMessageText
BotVars.WhisperGreet = Config.WhisperGreet

BotVars.ProxyIP = Config.ProxyIP

BotVars.ChatDelay = Config.ChatDelay

s = Config.GetFilePath("Logs")

0 comments on commit 7b75f09

Please sign in to comment.
You can’t perform that action at this time.