el comando seen no debe ser "case sensitive"

Bug #1238303 reported by Nicolás Demarchi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
lalita
New
Undecided
Unassigned

Bug Description

El comando "seen" es sensible a mayusculas y en el IRC no es así.

Ejemplo:

19:13 < GiLgAmEzH> lalita: seen gilgamezh
19:13 < lalita> GiLgAmEzH: se me quedó en la otra pollera :|
19:13 < GiLgAmEzH> lalita: seen GiLgAmEzH
19:13 < lalita> GiLgAmEzH: andá mirate en el espejo del baño

Se puede comprobar por ejemplo que el comando whois no diferencia gilgamezh de GiLgAmEzH.

Revision history for this message
Nicolás Demarchi (gilgamezh) wrote :

Si alguién me da una mano puedo intentar hacer un fix.

creo que la cosa podría estar en http://bazaar.launchpad.net/~laliputienses/lalita/trunk/view/head:/lalita/ircbot.py

http://bazaar.launchpad.net/~laliputienses/lalita/trunk/view/head:/lalita/ircbot.py linea 203

def action(self, user, channel, msg):
        """This will get called when the bot sees someone do an action."""
        # decode according to channel (that can be an user), or server/default
        encoding = self.encoding_channels.get(channel, self.encoding_server)
        msg = msg.decode(encoding)
        user = user.split('!', 1)[0]
        self.dispatcher.push(events.ACTION, user, channel, msg)

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers