Menu

#10 Adding Username = ircUser when connecting to an IRC server

open-fixed
nobody
None
5
2009-03-30
2009-03-30
monipol
No

This is not a patch per se. :B

I noticed that Infobot doesn't set the username when connecting to an IRC server even when ircUser is set in files/infobot.config. Adding

Username => $param{'ircUser'},

to %args in src/IRC/Irc.pl line 111 fixes this.

Discussion

  • Tim Riker

    Tim Riker - 2009-03-30

    I run infobot attached multiple times to the same irc network as five different nicks. I think this patch will cause them all to look like the same nick on attach, correct?

    They should each show up as their own nick.

     
  • Tim Riker

    Tim Riker - 2009-03-30

    implemented later on with $mynick. Does that work?

     
  • monipol

    monipol - 2009-03-30

    I think they would still use different nicks but the username would be the same. The problem with not specifying Username is that Net::IRC will connect using `whoami` as username, which is something I don't really want as my Unix username differs from my nick.

     
  • monipol

    monipol - 2009-03-30

    Sorry, but I don't understand what you mean in your message:

    implemented later on with $mynick. Does that work?

     
  • Tim Riker

    Tim Riker - 2009-03-30

    set per nick. Thanx.

     
  • Tim Riker

    Tim Riker - 2009-03-30
    • status: open --> closed-fixed
     
  • Tim Riker

    Tim Riker - 2009-03-30

    re-opening...

    so you would want all the nicks to connect as the same Username? (if you were using multiple nicks)

     
  • Tim Riker

    Tim Riker - 2009-03-30
    • status: closed-fixed --> open-fixed
     
  • monipol

    monipol - 2009-03-30

    Hmm, I'm not sure what would be appropriate in the case of multiple nicks as this is not my scenario.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.