def irc_prefix(var):
 if isinstance(var, basestring):
  return (u'irc_%s' % var.lower())

def irc_prefix ( var ) : if isinstance ( var , basestring ) : return ( u'irc_%s' % var . lower ( ) )
prefix a string with the irc_ .