Menu

#1 away: catch messages in channel

closed
nobody
None
5
2011-02-15
2006-06-05
No

It would be nice if the away module also catched the
lines in channels where my nick is mentioned. I just
briefly peeked at the api and i know it is not very
efficient, but it works for me.

Not sure if multi user should be handled here or if
it is another instance. If so, it can be simplified
to only grab for the nick of the instance.

Anyhow, maybe it is usefull for anything.

Toma

Discussion

  • Anonymous

    Anonymous - 2006-06-05

    away extention

     
  • Psychon

    Psychon - 2006-11-28

    Logged In: YES
    user_id=1654410
    Originator: NO

    uhm, three small points:
    1) If i have znc running with user a and user b, both having current irc nick = username and they are both on #c and have this module loaded, i can trigger a bug. If i say a, b's away module will pick that up.

    2) There is no way to tell if a message came from a query or from a channel.

    3) Perhabs it would be nice if this isnt forced so the user could turn it off. But that would need to go into the config so its beeing saved...

    For 1) Instead of looping through the user map, just use GetUser()->GetIRCNick() (or something along of that).
    For 2) i got no great idea (tm) of fixing that...
    For 3) Shouldnt be too hard.

    I would implement this myself, but due to the lack if an idea for 2) i dont do it (yet?).

    Anyway, thanks for the patch

     
  • Psychon

    Psychon - 2011-02-15
    • status: open --> closed
     

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.