dominikh changed the topic of #cinch to: The IRC Framework | Latest version: Cinch 2.2.4
britneywright has joined #cinch
Dunke has quit [Remote host closed the connection]
Dwarf has quit [Ping timeout: 250 seconds]
britneywright has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
_djbkd has quit [Quit: My people need me...]
frog|OFF is now known as green-big-frog
_djbkd has joined #cinch
Lirion has quit [Quit: DSA-3170]
Lirion has joined #cinch
_djbkd has quit [Remote host closed the connection]
green-big-frog is now known as frog|OFF
xbob has joined #cinch
Dunke has joined #cinch
rooby has left #cinch [#cinch]
nini1294 has joined #cinch
<nini1294> hello
nini1294 has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
nini1294 has joined #cinch
<nini1294> Hello?
<chadrien> Hi
<nini1294> So edgy is everyone working on
<nini1294> *what
<nini1294> Hello?
nini1294 has left #cinch ["AndroIRC"]
nini1294 has joined #cinch
britneywright has joined #cinch
nini1294 has quit [Ping timeout: 256 seconds]
xbob_ has joined #cinch
xbob has quit [Ping timeout: 255 seconds]
nini1294 has joined #cinch
frog|OFF is now known as green-big-frog
xbob has joined #cinch
xbob_ has quit [Ping timeout: 256 seconds]
xbob_ has joined #cinch
xbob has quit [Ping timeout: 272 seconds]
xbob_ has quit [Ping timeout: 250 seconds]
<green-big-frog> could someone please look what I am doing wrong?
<green-big-frog> I'm trying to learn ruby and look up most of the stuff but sometimes I just don't get from the spot
nini1294 has quit [Ping timeout: 252 seconds]
nini1294 has joined #cinch
nini1294 has quit [Read error: Connection reset by peer]
nini1294 has joined #cinch
<dominikh> broken code's not very useful if you don't say a) what it's supposed to do b) how it's not working
<green-big-frog> sr...
<dominikh> then again, line 23 essentially says "unless true"
<dominikh> not sure what makes you think it'd accept a hash and do anything with it other then evaluating it to true
<green-big-frog> I'm trying to check if someone is authorized... that's the only part not working... anyone can use it
<dominikh> irb(main):005:0> if {"whatever" => "lol"}; true; end
<dominikh> => true
<dominikh> if/unless are for boolean expressions.
<dominikh> any object other than nil and false evaluates to true
<green-big-frog> how do I then have to do it?
<dominikh> why would `unless ({"nick"=>"green-big-frog", "host"=>"Elite12225@gateway/shell/elitebnc/x-dckwecssxpmmwiwl"})` even know what nick and host refer to?
<green-big-frog> ok
<dominikh> learn what boolean expressions are and how to compare things/check things for equality
<green-big-frog> ok
nini1294 has quit [Read error: Connection reset by peer]
green-big-frog is now known as frog|OFF
_djbkd has joined #cinch
_djbkd has quit [Read error: Connection reset by peer]
_djbkd has joined #cinch
Dwarf has joined #cinch
nini1294 has joined #cinch
_djbkd has quit [Remote host closed the connection]
_djbkd has joined #cinch
_djbkd has quit [Remote host closed the connection]
_djbkd has joined #cinch
_djbkd has quit [Remote host closed the connection]
_djbkd has joined #cinch
FiXato has quit [Quit: Quit my IRC client. I'll probably be back soon after a restart of it.]
FiXato has joined #cinch
britneywright has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
_djbkd has quit [Remote host closed the connection]
_djbkd has joined #cinch
britneywright has joined #cinch