summaryrefslogtreecommitdiff
path: root/java/avis/files/patch-server-src-main-org-avis-federation-Link.java
blob: 9845476f03cb5501d651a8977755bae7d6141989 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
--- server/src/main/org/avis/federation/Link.java-orig	2008-01-21 18:05:26.000000000 +1030
+++ server/src/main/org/avis/federation/Link.java	2008-01-29 17:16:37.334636622 +1030
@@ -302,7 +285,7 @@
 
   private void handleAck (Ack ack)
   {
-    if (ack.request instanceof FedSubReplace)
+    if (ack.request.getClass () == FedSubReplace.class)
       subscribed = true;
   }
 
@@ -409,3 +392,5 @@
     return newRouting;
   }
 }
+
+