source file: p10/commands/account.py
file stats: 9 lines, 9 executed: 100.0% covered
1. #!/usr/bin/env python 2. 3. import p10.parser 4. import p10.base64 5. import genericcommand 6. 7. class account(genericcommand.genericcommand): 8. """ Parses the AC/ACCOUNT token - users authenticating """ 9. 10. def handle(self, origin, line): 11. self._state.authenticate(origin, p10.base64.parseNumeric(line[0], self._state.maxClientNumerics), line[1])