]> granicus.if.org Git - ejabberd/commitdiff
* src/mod_offline.erl: Typo.
authorMickaël Rémond <mickael.remond@process-one.net>
Wed, 8 Aug 2007 09:54:26 +0000 (09:54 +0000)
committerMickaël Rémond <mickael.remond@process-one.net>
Wed, 8 Aug 2007 09:54:26 +0000 (09:54 +0000)
SVN Revision: 861

src/mod_offline.erl

index 303fe238f2ecac2011caabdc288cc9db6875dfd3..e98caf0ba2db609530a23ddafa9da6cc6e707a34 100644 (file)
@@ -60,7 +60,7 @@ loop() ->
            Len = length(Msgs),
            F = fun() ->
                        %% Only count messages if needed:
-                       Count = if ?MAX_OFFLINE_MSGS == infinity ->
+                       Count = if ?MAX_OFFLINE_MSGS =/= infinity ->
                                        Len + p1_mnesia:count_records(
                                                offline_msg, 
                                                #offline_msg{us=US, _='_'});