code: def banlist(self, channel):
          
          with self.lock:
              self.is_in_channel(channel)
  
              self.send('MODE %s b' % channel)
              bans = []
  
              while self.readable():
                  msg = self._recv(expected_replies=('367', '368'))
                  if msg[0] == '367':
                      banmask, who, timestamp = msg[2].split()[1:]
                      bans.append((self._from_(banmask), who, \
                                   self._m_time.localtime(int(timestamp))))
                  elif msg[0] == '368':
                      break
              return bans
docs: Get the channel banlist.
          Required arguments:
          * channel - Channel of which to get the banlist for.