MCPcopy Create free account
hub / github.com/annmuor/jnode / afxpass

Method afxpass

jnode-core/src/jnode/robot/AreaFix.java:161–168  ·  view source on GitHub ↗
(Link link, String newpwd)

Source from the content-addressed store, hash-verified

159 }
160
161 protected String afxpass(Link link, String newpwd) {
162 if (newpwd.length() > 3 && newpwd.length() < 17) {
163 FtnTools.setOption(link, LinkOption.STRING_AREAFIX_PWD, newpwd);
164 return "Your AreaFix password was changed to " + newpwd + "\n";
165 } else {
166 return "Your AreaFix password must be between 4 and 16 chars length\n";
167 }
168 }
169
170 /**
171 * Отправляем %HELP

Callers 1

executeMethod · 0.95

Calls 1

setOptionMethod · 0.95

Tested by

no test coverage detected