Disable checkfriends mode so it stops erroring.

        Patch by mark. 

diffs (21 lines):

diff -r 14f211f79287 -r 17a1b276616f cgi-bin/ljprotocol.pl
--- a/cgi-bin/ljprotocol.pl     Thu Feb 04 19:12:38 2010 +0000
+++ b/cgi-bin/ljprotocol.pl     Fri Feb 05 10:16:11 2010 +0000
@@ -128,6 +128,7 @@ my %e = (
      "504" => [ E_PERM, "Protocol mode no longer supported." ],
      "505" => [ E_TEMP, "Account data format on server is old and needs to be 
upgraded." ], # cluster0
      "506" => [ E_TEMP, "Journal sync temporarily unavailable." ],
+     "507" => [ E_TEMP, "Method temporarily disabled; try again later." ],
 );
 
 sub translate
@@ -744,6 +745,9 @@ sub checkfriends
     return undef unless authenticate($req, $err, $flags);
     my $u = $flags->{'u'};
     my $res = {};
+
+    # FIXME: not updated for WTF yet
+    return fail( $err, 507 );
 
     # return immediately if they can't use this mode
     unless ( $u->can_use_checkfriends ) {
_______________________________________________
dw-changelog mailing list
[email protected]
http://lists.dwscoalition.org/mailman/listinfo/dw-changelog

Reply via email to