Feng Lee пре 9 година
родитељ
комит
67637408fc
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      src/emqttd_plugins.erl

+ 1 - 1
src/emqttd_plugins.erl

@@ -90,7 +90,7 @@ list() ->
     end.
     end.
 
 
 plugin(CfgFile) ->
 plugin(CfgFile) ->
-    [AppName | _] = sting:tokens(CfgFile, "."),
+    [AppName | _] = string:tokens(CfgFile, "."),
     {ok, Attrs} = application:get_all_key(AppName),
     {ok, Attrs} = application:get_all_key(AppName),
     Ver = proplists:get_value(vsn, Attrs, "0"),
     Ver = proplists:get_value(vsn, Attrs, "0"),
     Descr = proplists:get_value(description, Attrs, ""),
     Descr = proplists:get_value(description, Attrs, ""),