source file: p10/commands/invite.py
file stats: 6 lines, 6 executed: 100.0% covered
   1. #!/usr/bin/env python
   2. 
   3. import genericcommand
   4. 
   5. class invite(genericcommand.genericcommand):
   6. 
   7.     def handle(self, origin, args):
   8.         target = self._state.nick2numeric(args[0])
   9.         channel = args[1]
  10.         self._state.invite(origin, target, channel)