Board Thread:Lua Help/@comment-28857013-20150218124053/@comment-3298582-20150219185630

An alternative implementation for two functions: You can export these two functions to a utility module (Module:Utility), because they are independant of other parts of Module:Vote. If you want to use them, include the following two lines at the beginnning of Module:Vote. This way you don't need to change any other code in Module:Vote.

In the function  you don't assign the returned value of the second call of.

You can replace the escaped double quotes with single quotes.