Pārlūkot izejas kodu

Minor deprecation fixes

Change-Id: Ia31487cb3c125757de3053d990501787bc1c8060
Reviewed-on: http://gerrit.dmdirc.com/1792
Reviewed-by: Greg Holmes <greg@dmdirc.com>
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com>
tags/0.6.5
Chris Smith 13 gadus atpakaļ
vecāks
revīzija
5fe84eca88
1 mainītis faili ar 3 papildinājumiem un 3 dzēšanām
  1. 3
    3
      src/com/dmdirc/addons/dcc/ChatContainer.java

+ 3
- 3
src/com/dmdirc/addons/dcc/ChatContainer.java Parādīt failu

@@ -77,11 +77,11 @@ public class ChatContainer extends DCCFrameContainer<InputWindow> implements DCC
77 77
             final StringBuffer buff = new StringBuffer("DCCChatSelfMessage");
78 78
             ActionManager.processEvent(DCCActions.DCC_CHAT_SELFMESSAGE, buff,
79 79
                     this, line);
80
-            addLine(buff, nickname, getTranscoder().encode(line));
80
+            addLine(buff, nickname, line);
81 81
             dccChat.sendLine(line);
82 82
         } else {
83 83
             final StringBuffer buff = new StringBuffer("DCCChatError");
84
-            addLine(buff, "Socket is closed.", getTranscoder().encode(line));
84
+            addLine(buff, "Socket is closed.", line);
85 85
         }
86 86
     }
87 87
 
@@ -91,7 +91,7 @@ public class ChatContainer extends DCCFrameContainer<InputWindow> implements DCC
91 91
         final StringBuffer buff = new StringBuffer("DCCChatMessage");
92 92
         ActionManager.processEvent(DCCActions.DCC_CHAT_MESSAGE, buff, this,
93 93
                 otherNickname, message);
94
-        addLine(buff, otherNickname, getTranscoder().encode(message));
94
+        addLine(buff, otherNickname, message);
95 95
     }
96 96
 
97 97
     /** {@inheritDoc} */

Notiek ielāde…
Atcelt
Saglabāt