Cleanup.
This commit is contained in:
parent
b0b881e22b
commit
9da2638475
1 changed files with 2 additions and 3 deletions
|
@ -60,11 +60,10 @@ class Pinboard {
|
||||||
*
|
*
|
||||||
* @param bot The bot's instance.
|
* @param bot The bot's instance.
|
||||||
* @param apiToken The API end point.
|
* @param apiToken The API end point.
|
||||||
* @param ircServer The IRC server.
|
|
||||||
*/
|
*/
|
||||||
Pinboard(final Mobibot bot, final String apiToken, final String ircServer) {
|
Pinboard(final Mobibot bot, final String apiToken) {
|
||||||
pinboard = new PinboardPoster(apiToken);
|
pinboard = new PinboardPoster(apiToken);
|
||||||
this.ircServer = ircServer;
|
ircServer = bot.getIrcServer();
|
||||||
|
|
||||||
if (bot.getLogger().isDebugEnabled()) {
|
if (bot.getLogger().isDebugEnabled()) {
|
||||||
final ConsoleHandler consoleHandler = new ConsoleHandler();
|
final ConsoleHandler consoleHandler = new ConsoleHandler();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue