mirror of
https://github.com/openbullet/openbullet.git
synced 2023-10-21 07:33:42 -05:00
Added USEPROXY TRUE/FALSE to SET command.
This commit is contained in:
@@ -47,6 +47,12 @@ namespace RuriLib.LS
|
||||
data.Address = LineParser.ParseLiteral(ref input, "ADDRESS", true, data);
|
||||
break;
|
||||
|
||||
case "USEPROXY":
|
||||
var use = LineParser.ParseToken(ref input, TokenType.Parameter, true).ToUpper();
|
||||
if (use == "TRUE") data.UseProxies = true;
|
||||
else if (use == "FALSE") data.UseProxies = false;
|
||||
break;
|
||||
|
||||
case "PROXY":
|
||||
data.Proxy = new CProxy(LineParser.ParseLiteral(ref input, "PROXY", true, data), data.Proxy.Type);
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user