dominikh changed the topic of #cinch to: The IRC Framework | Latest version: Cinch 2.2.6
blindsight` has quit [Changing host]
blindsight` has joined #cinch
blindsight` is now known as BlindSight
tyil has joined #cinch
<tyil> what would be the best way to run a WHO command in cinch and capture it's response?
<dominikh> mostly I'm curious why you need that. Channel#users, and accessing information on the individual user objects, should do what you need
<dominikh> (it uses WHO/WHOX under the hood)
<dominikh> if you want the raw messages, you'll have to set up listeners for the individual messages and assemble the output from that
<tyil> dominikh: a network I'm on exposes an account ID when I run "/who <nickname> %nad"
<tyil> I want to use this account id :p
<dominikh> does it not show up on WHOIS?
<tyil> sadly not
postmodern has joined #cinch
<dominikh> but that's just silly
<tyil> I'm not a developer on the network, so I can't change that
<tyil> is there an example on how to setup such a listener?
<dominikh> `listen_to Constants::RPL_WHOSPCRPL, method: :your_method` or something like that.
_djbkd has joined #cinch
postmodern has quit [Quit: Leaving]
<tyil> on :connect do¬
<tyil> debug("Attempting to join channels for %s" % bot.irc.network.name.to_s)
<tyil> [2015/08/16 08:25:13.667] !! Attempting to join channels for unknown
<tyil> is it supposed to be unaware of the network's name when :connect is triggered?
_djbkd has quit [Quit: My people need me...]
Zarthus_ has joined #cinch
apeiros_ has joined #cinch
Zarthus has quit [Ping timeout: 255 seconds]
apeiros has quit [Ping timeout: 255 seconds]
apeiros_ is now known as apeiros
xbob has joined #cinch
xbob_ has joined #cinch
xbob has quit [Ping timeout: 260 seconds]
xbob has joined #cinch
xbob_ has quit [Ping timeout: 240 seconds]
sarkyniin has joined #cinch
<dominikh> tyil: if the IRCd doesn't transmit the network name in a way that Cinch detects, yes.
sarkyniin has quit [Ping timeout: 255 seconds]
sarkyniin has joined #cinch
sarkyniin has quit [Quit: Quit]
sarkyniin has joined #cinch
Azure|dc has joined #cinch
Azure has quit [Ping timeout: 265 seconds]
<Zarthus_> tyil: that's WHOX, cinch supports that afaik?
<Zarthus_> oh, i suppose an ID is different from the account name
<Zarthus_> sounds weird to me
Zarthus_ has joined #cinch
Zarthus_ has quit [Changing host]
Zarthus_ is now known as Zarthus
Azure|dc has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Azure has joined #cinch
xbob has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
sarkyniin has quit [Read error: No route to host]
sarkyniin has joined #cinch
xet7 has joined #cinch
<xet7> Why in cinch log it says "Could not connect to the IRC server. Please check your network: getaddrinfo: Name or service not known" ?
<dominikh> ask your network admin :)
<xet7> doh, I'm starting cinch from my home Linux Mint laptop, on ADSL :)
<xet7> HexChat works find on same laptop
<xet7> s/find/fine/g
<dominikh> then you probably typoed the server address in cinch, or your DNS is faulty, or one of the other reasons for that error.
sarkyniin has quit [Read error: Connection reset by peer]
sarkyniin has joined #cinch