Kevin Telford created CAMEL-9755:
------------------------------------

             Summary: Allow for nickserv identification
                 Key: CAMEL-9755
                 URL: https://issues.apache.org/jira/browse/CAMEL-9755
             Project: Camel
          Issue Type: Improvement
          Components: camel-irc
            Reporter: Kevin Telford
            Priority: Minor


I think the Camel IRC component should allow for identifying a user w/the 
servers nickserv 
(https://meta.wikimedia.org/wiki/IRC/Instructions#Register_your_nickname.2C_identify.2C_and_enforce).
  Attached is a patch to allow that to happen for the IrcConsumer.   The same 
action could be applied to the IrcProducer if the IrcConfiguration was 
available in that class.

Part of what I did was also to put a Thread.sleep() before the identification.  
I did this because when connecting to some servers (ex irc.anonops.com:6697) I 
found I needed to pause for a few moments while the server completed the 
connection and displayed a bunch of banner info.  Having an additional param to 
pause before joining channels may be worth implementing as well, however I 
tried not to do too much customization since I'm not that familiar with the 
component code.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to