(self, c, e)
[Internal]
[Internal]
[ Internal ]
def _on_mode(self, c, e):
        """[Internal]"""
        modes = parse_channel_modes(" ".join(e.arguments()))
        t = e.target()
        if is_channel(t):
            ch = self.channels[t]
            for mode in modes:
                if mode[0] == "+":
                    f = ch.set_mode
                else:
                    f = ch.clear_mode
                f(mode[1], mode[2])
        else:
            # Mode on self... XXX
            pass
def _on_mode ( self , c , e ) : modes = parse_channel_modes ( " " . join ( e . arguments ( ) ) ) t = e . target ( ) if is_channel ( t ) : ch = self . channels [ t ] for mode in modes : if mode [ 0 ] == "+" : f = ch . set_mode else : f = ch . clear_mode f ( mode [ 1 ] , mode [ 2 ] ) else : # Mode on self... XXX pass