|
@@ -31,7 +31,6 @@ import com.dmdirc.interfaces.User;
|
31
|
31
|
import com.dmdirc.interfaces.config.AggregateConfigProvider;
|
32
|
32
|
import com.dmdirc.logger.ErrorLevel;
|
33
|
33
|
import com.dmdirc.parser.interfaces.ChannelInfo;
|
34
|
|
-import com.dmdirc.parser.interfaces.ClientInfo;
|
35
|
34
|
import com.dmdirc.plugins.PluginDomain;
|
36
|
35
|
|
37
|
36
|
import java.io.File;
|
|
@@ -114,23 +113,6 @@ public class LogFileLocator {
|
114
|
113
|
return getPath(directory, file, channel.getName());
|
115
|
114
|
}
|
116
|
115
|
|
117
|
|
- /**
|
118
|
|
- * Get the name of the log file for a specific object.
|
119
|
|
- *
|
120
|
|
- * @param client Client to get the name for
|
121
|
|
- *
|
122
|
|
- * @return the name of the log file to use for this object.
|
123
|
|
- */
|
124
|
|
- public String getLogFile(final ClientInfo client) {
|
125
|
|
- final StringBuffer directory = getLogDirectory();
|
126
|
|
- final StringBuffer file = new StringBuffer();
|
127
|
|
- if (client.getParser() != null) {
|
128
|
|
- addNetworkDir(directory, file, client.getParser().getNetworkName());
|
129
|
|
- }
|
130
|
|
- file.append(sanitise(client.getNickname().toLowerCase()));
|
131
|
|
- return getPath(directory, file, client.getNickname());
|
132
|
|
- }
|
133
|
|
-
|
134
|
116
|
/**
|
135
|
117
|
* Get the name of the log file for a specific object.
|
136
|
118
|
*
|