|
@@ -35,9 +35,9 @@ import com.dmdirc.logger.Logger;
|
35
|
35
|
import com.dmdirc.ui.input.AdditionalTabTargets;
|
36
|
36
|
import com.dmdirc.ui.interfaces.InputWindow;
|
37
|
37
|
import com.dmdirc.updater.UpdateChecker;
|
|
38
|
+
|
38
|
39
|
import java.io.Serializable;
|
39
|
40
|
import java.util.Comparator;
|
40
|
|
-
|
41
|
41
|
import java.util.List;
|
42
|
42
|
import java.util.Map;
|
43
|
43
|
import java.util.Map.Entry;
|
|
@@ -64,8 +64,6 @@ public class Debug extends GlobalCommand implements IntelligentCommand {
|
64
|
64
|
showUsage(origin, isSilent, "debug", "<debug command> [options]");
|
65
|
65
|
} else if ("error".equals(args[0])) {
|
66
|
66
|
doError(args);
|
67
|
|
- } else if ("fakeupdate".equals(args[0])) {
|
68
|
|
- doFakeUpdate();
|
69
|
67
|
} else if ("showraw".equals(args[0])) {
|
70
|
68
|
doShowRaw(origin, isSilent);
|
71
|
69
|
} else if ("configstats".equals(args[0])) {
|
|
@@ -126,13 +124,6 @@ public class Debug extends GlobalCommand implements IntelligentCommand {
|
126
|
124
|
}
|
127
|
125
|
}
|
128
|
126
|
|
129
|
|
- /**
|
130
|
|
- * Fakes an available update.
|
131
|
|
- */
|
132
|
|
- private void doFakeUpdate() {
|
133
|
|
- new UpdateChecker().doUpdateAvailable("outofdate dummy 1337 0 http://www.example.com/");
|
134
|
|
- }
|
135
|
|
-
|
136
|
127
|
/**
|
137
|
128
|
* Attempts to show the server's raw window.
|
138
|
129
|
*
|
|
@@ -318,7 +309,6 @@ public class Debug extends GlobalCommand implements IntelligentCommand {
|
318
|
309
|
|
319
|
310
|
if (arg == 0) {
|
320
|
311
|
res.add("error");
|
321
|
|
- res.add("fakeupdate");
|
322
|
312
|
res.add("showraw");
|
323
|
313
|
res.add("colourspam");
|
324
|
314
|
res.add("configstats");
|