public boolean isAdmin(String sender) { if (admins.contains(sender)) { return true; } else { return false; } }
public boolean isMod(String sender) { if (mods.contains(sender)) { return true; } else { return false; } }
public void onInvite( String targetNick, String sender, String sourceLogin, String sourceHostname, String channel) { if (!ignored.contains(channel)) { try { this.appendChannel(channel, sender); } catch (IOException ex) { this.sendError(sender, ex.toString()); } } else { ignoredChannel(sender, channel); } }