瀏覽代碼

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 年之前
父節點
當前提交
5fe84eca88
共有 1 個檔案被更改,包括 3 行新增3 行删除
  1. 3
    3
      src/com/dmdirc/addons/dcc/ChatContainer.java

+ 3
- 3
src/com/dmdirc/addons/dcc/ChatContainer.java 查看文件

77
             final StringBuffer buff = new StringBuffer("DCCChatSelfMessage");
77
             final StringBuffer buff = new StringBuffer("DCCChatSelfMessage");
78
             ActionManager.processEvent(DCCActions.DCC_CHAT_SELFMESSAGE, buff,
78
             ActionManager.processEvent(DCCActions.DCC_CHAT_SELFMESSAGE, buff,
79
                     this, line);
79
                     this, line);
80
-            addLine(buff, nickname, getTranscoder().encode(line));
80
+            addLine(buff, nickname, line);
81
             dccChat.sendLine(line);
81
             dccChat.sendLine(line);
82
         } else {
82
         } else {
83
             final StringBuffer buff = new StringBuffer("DCCChatError");
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
         final StringBuffer buff = new StringBuffer("DCCChatMessage");
91
         final StringBuffer buff = new StringBuffer("DCCChatMessage");
92
         ActionManager.processEvent(DCCActions.DCC_CHAT_MESSAGE, buff, this,
92
         ActionManager.processEvent(DCCActions.DCC_CHAT_MESSAGE, buff, this,
93
                 otherNickname, message);
93
                 otherNickname, message);
94
-        addLine(buff, otherNickname, getTranscoder().encode(message));
94
+        addLine(buff, otherNickname, message);
95
     }
95
     }
96
 
96
 
97
     /** {@inheritDoc} */
97
     /** {@inheritDoc} */

Loading…
取消
儲存