summaryrefslogtreecommitdiffstats
blob: a14c0f31118dd0aa6ef3b1132378ee780c89fbd0 (plain)
1
2
3
4
5
6
function log_a_message(body, muc, nick, message)
   print("Received line from '" .. nick .. "' in '" .. muc .. "':")
   print(body)
end

swiftob_register_listener(log_a_message)