Linked source PircBot.

This commit is contained in:
Christian P. MOMON 2018-01-04 08:41:56 +01:00
parent 93df86b2b2
commit 030398dde7
3 changed files with 17 additions and 2 deletions

View File

@ -27,7 +27,7 @@
<classpathentry kind="lib" path="lib/httpcore-4.4.1.jar"/>
<classpathentry kind="lib" path="lib/jaxb-api-2.2.12.jar"/>
<classpathentry kind="lib" path="lib/joda-time-2.8.1.jar"/>
<classpathentry kind="lib" path="lib/pircbot-1.5.0.jar"/>
<classpathentry kind="lib" path="lib/pircbot-1.5.0.jar" sourcepath="lib/pircbot-1.5.0-sources.zip"/>
<classpathentry kind="lib" path="lib/scribe-1.3.7.jar"/>
<classpathentry kind="lib" path="lib/quartz-2.2.3.jar" sourcepath="lib/quartz-2.2.3-source.zip"/>
<classpathentry kind="lib" path="lib/devinsy-strings-0.4.4.jar" sourcepath="lib/devinsy-strings-0.4.4-sources.zip"/>

View File

@ -126,6 +126,21 @@ public class HebdobotCLI
if (configFile.exists())
{
/*
//
File loggerConfigFile = new File(configFile, "log4j.properties");
if (loggerConfigFile.exists())
{
PropertyConfigurator.configure(loggerConfigFile.getAbsolutePath());
logger.info("Dedicated log configuration done.");
logger.info("Configuration file was found in [{}].", loggerConfigFile.getAbsoluteFile());
}
else
{
BasicConfigurator.configure();
logger.info("Basic log configuration done.");
logger.info("Configuration file was not found in [{}].", loggerConfigFile.getAbsoluteFile());
}*/
// Load configuration file.
logger.info("Config file loading… ({}).", configFile.getAbsolutePath());

View File

@ -543,7 +543,7 @@ public class Hebdobot extends PircBot
else
{
logger.info("Else caught.");
// All the other.
if (this.review != null)
{