lib/plugins/standup.py
def _cmd_add(self, target, nick, args):
        """ Add a person to the standup (I won't check if the nick exists on the server) """
        if not args:
            return
        if self._in_progress is False:
            self._send_msg(target, nick, 'No standup in progress.')
            return
        to_add = args[0].lower()
        if to_add == 'me':
            to_add = nick
        if nick and self._owner != nick and to_add != nick:
            self._send_msg(target, nick, 'Only {0} can add someone (he started the standup).'.format(self._owner))
            return
        if to_add in self._user_list:
            self._send_msg(target, nick, '{0} is already part of the Standup.'.format(to_add))
            return
        # FIXME: Check if to_add exists for real
        self._user_list.append(to_add)
        self._user_late_list.append(to_add)
        if to_add == nick:
            self._send_msg(target, nick, 'You\'re in.')
            return
        self._send_msg(target, nick, 'Added {0}.'.format(to_add))
 Add a person to the standup (I won't check if the nick exists on the server) 
Add a person to the standup (I won't check if the nick exists on the server)
Add a person to the standup ( I won ' t check if the nick exists on the server )
def _cmd_add(self, target, nick, args):
        if not args:
            return
        if self._in_progress is False:
            self._send_msg(target, nick, 'No standup in progress.')
            return
        to_add = args[0].lower()
        if to_add == 'me':
            to_add = nick
        if nick and self._owner != nick and to_add != nick:
            self._send_msg(target, nick, 'Only {0} can add someone (he started the standup).'.format(self._owner))
            return
        if to_add in self._user_list:
            self._send_msg(target, nick, '{0} is already part of the Standup.'.format(to_add))
            return
        self._user_list.append(to_add)
        self._user_late_list.append(to_add)
        if to_add == nick:
            self._send_msg(target, nick, 'You\'re in.')
            return
        self._send_msg(target, nick, 'Added {0}.'.format(to_add))
def _cmd_add ( self , target , nick , args ) : if not args : return if self . _in_progress is False : self . _send_msg ( target , nick , 'No standup in progress.' ) return to_add = args [ 0 ] . lower ( ) if to_add == 'me' : to_add = nick if nick and self . _owner != nick and to_add != nick : self . _send_msg ( target , nick , 'Only {0} can add someone (he started the standup).' . format ( self . _owner ) ) return if to_add in self . _user_list : self . _send_msg ( target , nick , '{0} is already part of the Standup.' . format ( to_add ) ) return self . _user_list . append ( to_add ) self . _user_late_list . append ( to_add ) if to_add == nick : self . _send_msg ( target , nick , 'You\'re in.' ) return self . _send_msg ( target , nick , 'Added {0}.' . format ( to_add ) )
Add a person to the standup (I won't check if the nick exists on the server)
Add a person to the standup ( I won ' t check if the nick exists on the server )
""" Add a person to the standup (I won't check if the nick exists on the server) """ # FIXME: Check if to_add exists for real
self
target
nick
args