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