Skip to content

Commit

Permalink
Fixed issue with SET PROXY command
Browse files Browse the repository at this point in the history
  • Loading branch information
openbullet committed Jun 4, 2020
1 parent 93f77ba commit 2448ca5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion RuriLib/LoliScript/Parser/SetParser.cs
Expand Up @@ -55,7 +55,7 @@ public static Action Parse(string line, BotData data)
case "PROXY":
var prox = LineParser.ParseLiteral(ref input, "PROXY", true, data);
data.Proxy = new CProxy(BlockBase.ReplaceValues(prox, data), data.Proxy.Type);
data.Proxy = new CProxy(BlockBase.ReplaceValues(prox, data), data.Proxy == null ? ProxyType.Http : data.Proxy.Type);
break;
case "PROXYTYPE":
Expand Down

0 comments on commit 2448ca5

Please sign in to comment.