Skip to content
Snippets Groups Projects
Commit ca1a6bec authored by rswindell's avatar rswindell
Browse files

Uses file.length property instead of file_size() method.

parent a49e77dc
No related branches found
No related tags found
No related merge requests found
......@@ -107,7 +107,7 @@ function send_newuser_welcome_msg(fname)
log("!ERROR " + errno_str + " opening " + fname);
return(false);
}
msgtxt = lfexpand(file.read(file_size(fname)));
msgtxt = lfexpand(file.read(file.length));
file.close();
delete file;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment