public User(IRCUser a_IRCUser) { m_Nicknames = new SelectedList<String>(); m_Nicknames.add(a_IRCUser.getNick()); m_Nicknames.setSelected(a_IRCUser.getNick()); m_Username = a_IRCUser.getUsername(); m_Host = a_IRCUser.getHost(); }
protected boolean isAdminUser(final IrcEvent event) { final IRCUser sender = event.getSender(); return dao.isAdmin(sender.getNick(), sender.getHost()); }
@Override public void onQuit(IRCUser user, String msg) { RemoteConnector.nickPart(user.getNick(), null); }
@Override public void onPart(String chan, IRCUser user, String msg) { RemoteConnector.nickPart(user.getNick(), getInternalChannel(chan)); }
@Override public void onNick(IRCUser user, String newNick) { RemoteConnector.nickChanged(user.getNick(), newNick); }
@Override public void onJoin(String chan, IRCUser user) { RemoteConnector.nickJoin(user.getNick(), getInternalChannel(chan)); }