Skip to content

Commit

Permalink
fixed error with imgur kicking | 5.9.2
Browse files Browse the repository at this point in the history
  • Loading branch information
bl4ckscor3 committed Aug 29, 2016
1 parent bb2d158 commit d60359d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
#Changelog
---
####5.9.2_WIP
####5.9.2
- Added information upon sending a link of a GitHub repository branch
- Added information upon sending a link of a GitHub issue or pull request
- Added last updated time, wind direction and country to -w
- Adapted imgur kicking to one-image-albums
- Changed some GitHub messages
- Fixed a rare error that occured in commit analyzing
- Fixed error with imgur kicking

###5.9.1
- Added info for reddit user links
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>bl4ckscor3.bot</groupId>
<artifactId>bl4ckb0t</artifactId>
<version>5.9.1</version>
<version>5.9.2</version>
<name>bl4ckb0t</name>
<description>An IRC bot designed and managed by bl4ckscor3</description>
<url>https://github.com/bl4ckscor3/bl4ckb0t</url>
Expand Down
2 changes: 1 addition & 1 deletion src/bl4ckscor3/bot/bl4ckb0t/misc/LinkManager.java
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ else if(Core.bot.getConfig().isEnabled("showGitHubIssueInfo") && s.contains("git
GitHub.showIssue(channel, s);
else if(Core.bot.getConfig().isEnabled("showGitHubRepoInfo") && s.contains("github.com"))
GitHub.showRepo(channel, s);
else if(Core.bot.getConfig().isEnabled("kickOnBannedImgurLink") && channel.equals("#bl4ckscor3") && (s.contains("imgur") && !s.contains("i.imgur")))
else if(Core.bot.getConfig().isEnabled("kickOnBannedImgurLink") && channel.equals("#bl4ckscor3") && (s.contains("imgur.com") && !s.contains("i.imgur.com")))
{//code courtesy of Vauff
int images = 0;

Expand Down

0 comments on commit d60359d

Please sign in to comment.