#NEWLINE# def on_pubmsg( self , c , e ) : #NEWLINE# #INDENT# content = e . arguments [ 0 ] #NEWLINE# stream = e . target #NEWLINE# sender = zulip_sender ( e . source ) #NEWLINE# if sender . endswith ( ( '_zulip@' + IRC_DOMAIN ) ) : #NEWLINE# #INDENT# return #NEWLINE# #UNINDENT# print ( zulip_client . send_message ( { #NEWLINE# #INDENT# 'forged' : 'yes' , #NEWLINE# 'sender' : sender , #NEWLINE# 'type' : 'stream' , #NEWLINE# 'to' : stream , #NEWLINE# 'subject' : 'IRC' , #NEWLINE# 'content' : content , #NEWLINE# #UNINDENT# } ) )