summaryrefslogtreecommitdiff
path: root/plugin/plaintext/surge_in.go
diff options
context:
space:
mode:
Diffstat (limited to 'plugin/plaintext/surge_in.go')
-rw-r--r--plugin/plaintext/surge_in.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugin/plaintext/surge_in.go b/plugin/plaintext/surge_in.go
index 7621d0a1..a757cbf7 100644
--- a/plugin/plaintext/surge_in.go
+++ b/plugin/plaintext/surge_in.go
@@ -18,9 +18,9 @@ const (
func init() {
lib.RegisterInputConfigCreator(TypeSurgeRuleSetIn, func(action lib.Action, data json.RawMessage) (lib.InputConverter, error) {
- return newTextIn(TypeSurgeRuleSetIn, DescSurgeRuleSetIn, action, data)
+ return NewTextInFromBytes(TypeSurgeRuleSetIn, DescSurgeRuleSetIn, action, data)
})
- lib.RegisterInputConverter(TypeSurgeRuleSetIn, &TextIn{
+ lib.RegisterInputConverter(TypeSurgeRuleSetIn, &textIn{
Description: DescSurgeRuleSetIn,
})
}