diff options
Diffstat (limited to 'plugin/plaintext/surge_out.go')
| -rw-r--r-- | plugin/plaintext/surge_out.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugin/plaintext/surge_out.go b/plugin/plaintext/surge_out.go index 8fe62fb4..30aa2332 100644 --- a/plugin/plaintext/surge_out.go +++ b/plugin/plaintext/surge_out.go @@ -18,9 +18,9 @@ const ( func init() { lib.RegisterOutputConfigCreator(TypeSurgeRuleSetOut, func(action lib.Action, data json.RawMessage) (lib.OutputConverter, error) { - return newTextOut(TypeSurgeRuleSetOut, DescSurgeRuleSetOut, action, data) + return NewTextOutFromBytes(TypeSurgeRuleSetOut, DescSurgeRuleSetOut, action, data) }) - lib.RegisterOutputConverter(TypeSurgeRuleSetOut, &TextOut{ + lib.RegisterOutputConverter(TypeSurgeRuleSetOut, &text_out{ Description: DescSurgeRuleSetOut, }) } |
