Feng Lee 9 лет назад
Родитель
Сommit
67637408fc
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/emqttd_plugins.erl

+ 1 - 1
src/emqttd_plugins.erl

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