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()); }