Example #1
0
 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();
 }
Example #2
0
 protected boolean isAdminUser(final IrcEvent event) {
   final IRCUser sender = event.getSender();
   return dao.isAdmin(sender.getNick(), sender.getHost());
 }
Example #3
0
 @Override
 public void onQuit(IRCUser user, String msg) {
   RemoteConnector.nickPart(user.getNick(), null);
 }
Example #4
0
 @Override
 public void onPart(String chan, IRCUser user, String msg) {
   RemoteConnector.nickPart(user.getNick(), getInternalChannel(chan));
 }
Example #5
0
 @Override
 public void onNick(IRCUser user, String newNick) {
   RemoteConnector.nickChanged(user.getNick(), newNick);
 }
Example #6
0
 @Override
 public void onJoin(String chan, IRCUser user) {
   RemoteConnector.nickJoin(user.getNick(), getInternalChannel(chan));
 }