|
@@ -24,7 +24,6 @@ package com.dmdirc.commandparser.commands.context;
|
24
|
24
|
|
25
|
25
|
import com.dmdirc.FrameContainer;
|
26
|
26
|
import com.dmdirc.MessageTarget;
|
27
|
|
-import com.dmdirc.Server;
|
28
|
27
|
import com.dmdirc.commandparser.CommandInfo;
|
29
|
28
|
|
30
|
29
|
/**
|
|
@@ -46,7 +45,7 @@ public class ChatCommandContext extends ServerCommandContext {
|
46
|
45
|
*/
|
47
|
46
|
public ChatCommandContext(final FrameContainer source,
|
48
|
47
|
final CommandInfo commandInfo, final MessageTarget chat) {
|
49
|
|
- super(source, commandInfo, (Server) chat.getConnection());
|
|
48
|
+ super(source, commandInfo, chat.getConnection());
|
50
|
49
|
this.chat = chat;
|
51
|
50
|
}
|
52
|
51
|
|