switch-branch: fix invalid Lua syntax
There are two bugs in this script. One is that we have to copy content of table. We can use unpack for that. Second bug is that write_state is used in read_state but defined later on so it has to be moved.
Self sign-up has been disabled due to increased spam activity. If you want to get access, please send an email to a project owner (preferred) or at gitlab(at)nic(dot)cz. We apologize for the inconvenience.
There are two bugs in this script. One is that we have to copy content of table. We can use unpack for that. Second bug is that write_state is used in read_state but defined later on so it has to be moved.