diff options
Diffstat (limited to 'plugins/muc/subject.lib.lua')
-rw-r--r-- | plugins/muc/subject.lib.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/muc/subject.lib.lua b/plugins/muc/subject.lib.lua index 6f118b43..200b262d 100644 --- a/plugins/muc/subject.lib.lua +++ b/plugins/muc/subject.lib.lua @@ -14,7 +14,7 @@ local valid_roles = muc_util.valid_roles; local function create_subject_message(from, subject) return st.message({from = from; type = "groupchat"}) - :tag("subject"):text(subject):up(); + :tag("subject"):text(subject or ""):up(); end local function get_changesubject(room) |