dominikh changed the topic of #cinch to: The IRC Framework | http://groups.google.com/group/cinch-ruby/ | Latest version: Cinch 2.0.3 – Change log at http://bit.ly/Oqu9Eu – Migration guide at http://bit.ly/GO4qkW | This channel is being publicly logged at http://irclog.whitequark.org/cinch/
sjk has joined #cinch
postmodern has joined #cinch
postmodern has quit [Quit: Leaving]
postmodern has joined #cinch
opus has joined #cinch
robotmay has joined #cinch
opus has quit [Quit:]
Lemtzas is now known as Norwegia
Norwegia is now known as Somaliland
Somaliland is now known as Lemtzas
postmodern has quit [Quit: Leaving]
Lemtzas is now known as Puntland
necronian has quit [Ping timeout: 252 seconds]
necronian has joined #cinch
v0n has joined #cinch
necronian has quit [Quit: I am Quitting.]
necronian has joined #cinch
jhaals has joined #cinch
jhaals has quit [Ping timeout: 244 seconds]
txdv has quit [Read error: Connection reset by peer]
txdv has joined #cinch
Cinchy has quit [Remote host closed the connection]
Cinchy has joined #cinch
postmodern has joined #cinch
robotmay has quit [Remote host closed the connection]
lagweezle has quit [Quit: No. No! Oh god, no! Not again! NOOOOooooo!]
lagweezle has joined #cinch
julian-dephiki has joined #cinch
<julian-dephiki> So, I have a bot that I use to email users that are away on my company's IRC server -- the only way I've found to reliably detect if a user is away is to have my ZNC bouncer set all of their nicks to %nick%|away and then the bot looks for the |away and does some magic to send them emails
<julian-dephiki> if I /whois people, it shows that they're away
<julian-dephiki> and it returns a 301 which appears to be defined as RPL_AWAY in constants.rb
<julian-dephiki> Whenever I try User("nick|away").away it doesn't sync the away attribute and errors out
<julian-dephiki> Any ideas?
<waxjar> i think most clients put you on away if you're inactive for x seconds
<waxjar> you can look at the idle time, see if it's above a certain treshold
<julian-dephiki> I see in my cinch log "301 EmailBot2 nick|away :Auto away at Fri Feb 1 23:20:42 2013" when it does a whois on the user.
<julian-dephiki> Idle time would be okay, except for some people idle for quite some time
<waxjar> i think you can do User#whois and then check for the away attribute, not sure though.
Puntland is now known as Lemtzas
opus has joined #cinch
opus has quit [Ping timeout: 255 seconds]
opus has joined #cinch
v0n has quit [Ping timeout: 276 seconds]