]> granicus.if.org Git - ejabberd/commitdiff
Fix return value inconsistency in last_voice_request_time/2
authorMaxim Ignatenko <gelraen.ua@gmail.com>
Tue, 20 Sep 2011 13:25:44 +0000 (16:25 +0300)
committerMaxim Ignatenko <gelraen.ua@gmail.com>
Mon, 26 Sep 2011 08:16:29 +0000 (11:16 +0300)
src/mod_muc/mod_muc_room.erl

index 31be2b8194b2317fd770b3739d6d114d38443e9d..618b1c6850875f2cb734c456492e6e60fc41f110 100644 (file)
@@ -3896,7 +3896,7 @@ last_voice_request_time(BareJID, StateData) ->
        {ok, Value} ->
                Value;
        error ->
-               0
+               {0, 0, 0}
        end.
 
 update_voice_request_time(BareJID, StateData) ->