Python IRC classes