plugins/muc: Add muc-occupant-groupchat event
authordaurnimator <quae@daurnimator.com>
Thu, 25 Sep 2014 21:43:00 +0000 (17:43 -0400)
committerdaurnimator <quae@daurnimator.com>
Thu, 25 Sep 2014 21:43:00 +0000 (17:43 -0400)
commit8763d21265b7d3192a3bd2191f2e1e5ff9230e7d
tree77dbf2232e4cb42088788d2b3e38dc5b4153c57b
parent4232576ca92bf7790bc59ce423732999de796bdb
plugins/muc: Add muc-occupant-groupchat event

  - Plugins can cancel messages before they are broadcast; and while they still have real from jid
  - Use it for subject changes
  - Allows for custom roles (via role_rank)
  - Roles are now checked before subject
  - Removed muc-subject-change event
plugins/muc/muc.lib.lua
plugins/muc/subject.lib.lua