aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWaqas Hussain <waqas20@gmail.com>2009-06-26 21:51:32 +0500
committerWaqas Hussain <waqas20@gmail.com>2009-06-26 21:51:32 +0500
commit4a056707a57739093ebad4bd523797435157e07c (patch)
tree128352f1e7ec4a2ac05037876f32a5c2ad623274
parent8fe98de119a76ae60a700286c0a9614e8d7093f5 (diff)
downloadprosody-4a056707a57739093ebad4bd523797435157e07c.tar.gz
prosody-4a056707a57739093ebad4bd523797435157e07c.zip
util.muc: Fixed duplicate parameter names in function room:set_subject
-rw-r--r--util/muc.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/muc.lua b/util/muc.lua
index a9d32d8b..87eba130 100644
--- a/util/muc.lua
+++ b/util/muc.lua
@@ -165,7 +165,7 @@ end
local function room_get_disco_info(self, stanza) end
local function room_get_disco_items(self, stanza) end
-local function room_set_subject(room, current_nick, room, subject)
+local function room_set_subject(room, current_nick, subject)
-- TODO check nick's authority
if subject == "" then subject = nil; end
room._data['subject'] = subject;