Commits

muffl0n  committed e0695ae

also accept types.UnicodeType

  • Participants
  • Parent commits e7ea467

Comments (0)

Files changed (1)

 
     def part(self, channels, message=""):
         """Send a PART command."""
-        if type(channels) == types.StringType:
+	if type(channels) == types.StringType or type(channels) == types.UnicodeType :
             self.send_raw("PART " + channels + (message and (" " + message)))
         else:
             self.send_raw("PART " + ",".join(channels) + (message and (" " + message)))