Sfoglia il codice sorgente

Fix stupid behaviour of relaybot plugin

Fixes issue 4257

Change-Id: Ic091c1bb415f37742f2ba74b1b371498c18b7be8
Reviewed-on: http://gerrit.dmdirc.com/1372
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com>
Reviewed-by: Gregory Holmes <greg@dmdirc.com>
tags/0.6.4
Chris Smith 14 anni fa
parent
commit
b94e37c294

+ 1
- 1
src/com/dmdirc/addons/relaybot/RelayCallbackManager.java Vedi File

@@ -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.

Loading…
Annulla
Salva