|
@@ -142,7 +142,7 @@ public class RelayCallbackManager extends IRCCallbackManager implements SocketCl
|
142
|
142
|
|
143
|
143
|
// Clear my map of callbacks
|
144
|
144
|
@SuppressWarnings("unchecked")
|
145
|
|
- final Map<Class<? extends CallbackInterface>, CallbackObject> myCallbackHash = (Map<Class<? extends CallbackInterface>, CallbackObject>) cbField.get(this);
|
|
145
|
+ final Map<Class<? extends CallbackInterface>, CallbackObject> myCallbackHash = (Map<Class<? extends CallbackInterface>, CallbackObject>) cbField.get(cbm);
|
146
|
146
|
myCallbackHash.clear();
|
147
|
147
|
|
148
|
148
|
// Now add them all to the new cbm.
|