{"body":"if client.auth_state == \"start\" then\n    -- ask for username\nelseif client.auth_state == \"userin\" then\n    client.user = data\n    client.auth_state = \"passin\"\nelseif client.auth_state == \"passin\" then\n  -- Check client.user against password here. if failed, set auth state to \"start\" and perhaps increase attrempt checks.\nend","name":"","extension":"txt","url":"https://www.irccloud.com/pastebin/iuQxOIX3","modified":1523453797,"id":"iuQxOIX3","size":325,"lines":8,"own_paste":false,"theme":"","date":1523453797}