Improved naming.

This commit is contained in:
Christian P. MOMON 2018-05-25 13:31:59 +02:00
parent ed13715e60
commit 2d5c6d025c

View File

@ -92,7 +92,7 @@ public class Hebdobot extends PircBot
* the host * the host
* @param port * @param port
* the port * the port
* @param name * @param nickname
* the name * the name
* @param channel * @param channel
* the channel * the channel
@ -101,13 +101,13 @@ public class Hebdobot extends PircBot
* @param reviewDirectory * @param reviewDirectory
* the review directory * the review directory
*/ */
public Hebdobot(final String host, final int port, final String name, final String channel, final File homeDirectory, final File reviewDirectory) public Hebdobot(final String host, final int port, final String nickname, final String channel, final File homeDirectory, final File reviewDirectory)
{ {
this.homeDirectory = homeDirectory; this.homeDirectory = homeDirectory;
this.host = host; this.host = host;
this.port = port; this.port = port;
this.channel = channel; this.channel = channel;
this.setName(name); this.setName(nickname);
this.reviewDirectory = reviewDirectory; this.reviewDirectory = reviewDirectory;
this.reviewFileSuffix = null; this.reviewFileSuffix = null;
this.reviewWaitTime = null; this.reviewWaitTime = null;