File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -7249,8 +7249,10 @@ Sub ReloadConfig(Optional Mode As Byte = 0)
7249
7249
7250
7250
BotVars.UseProxy = Config.UseProxy
7251
7251
If BotVars.UseProxy And sckBNet.State = sckConnected Then BotVars.ProxyStatus = psOnline
7252
+ BotVars.ProxyIP = Config.ProxyIP
7252
7253
BotVars.ProxyPort = Config.ProxyPort
7253
- BotVars.ProxyIsSocks5 = Config.ProxyType
7254
+ BotVars.ProxyIsSocks5 = CBool(StrComp(Config.ProxyType, "SOCKS5" , vbTextCompare) = 0 )
7255
+
7254
7256
BotVars.NoTray = Not Config.MinimizeToTray
7255
7257
BotVars.NoAutocompletion = Not Config.NameAutoComplete
7256
7258
BotVars.NoColoring = Not Config.NameColoring
@@ -7289,8 +7291,6 @@ Sub ReloadConfig(Optional Mode As Byte = 0)
7289
7291
BotVars.GreetMsg = Config.GreetMessageText
7290
7292
BotVars.WhisperGreet = Config.WhisperGreet
7291
7293
7292
- BotVars.ProxyIP = Config.ProxyIP
7293
-
7294
7294
BotVars.ChatDelay = Config.ChatDelay
7295
7295
7296
7296
s = Config.GetFilePath("Logs" )
You can’t perform that action at this time.
0 commit comments