diff --git a/sigIRCv2.jar b/sigIRCv2.jar index 3321867..c8668de 100644 Binary files a/sigIRCv2.jar and b/sigIRCv2.jar differ diff --git a/src/sig/modules/TwitchModule.java b/src/sig/modules/TwitchModule.java index 0b50ee1..712c9d3 100644 --- a/src/sig/modules/TwitchModule.java +++ b/src/sig/modules/TwitchModule.java @@ -199,7 +199,7 @@ public class TwitchModule extends Module{ announcedFollowerUser = user; String followerAnnouncement = user.getDisplayName()+" is now following the stream!"; String userlogo = USERDIR+user.getId()+"_logo"; - if (!user.getLogo().equalsIgnoreCase("null")) { + if (user.getLogo()!=null && !user.getLogo().equalsIgnoreCase("null")) { try { org.apache.commons.io.FileUtils.copyURLToFile(new URL(user.getLogo()),new File(userlogo)); File logo = new File(userlogo);