dominikh changed the topic of #cinch to: The IRC Framework | Latest version: Cinch 2.2.5
ChasedSpade is now known as ChasedSpade|ill
djbkd has quit [Quit: My people need me...]
britneywright has joined #cinch
djbkd has joined #cinch
djbkd has quit [Client Quit]
djbkd has joined #cinch
britneywright has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ChasedSpade|ill is now known as ChasedSpade
djbkd has quit [Remote host closed the connection]
djbkd has joined #cinch
djbkd has quit [Ping timeout: 256 seconds]
irsol has quit [Remote host closed the connection]
<Wobbley> dominikh: Hmm how can I solve it then? :(
irsol has joined #cinch
<Wobbley> hmm I found that you have some documentation under encoding, will check that :D
postmodern has quit [Quit: Leaving]
britneywright has joined #cinch
djbkd has joined #cinch
djbkd has quit [Ping timeout: 256 seconds]
britneywright has quit [Read error: Connection reset by peer]
britneywright has joined #cinch
Guest48533 has quit [Ping timeout: 256 seconds]
blindsight has joined #cinch
blindsight is now known as Guest6107
djbkd has joined #cinch
djbkd has quit [Remote host closed the connection]
djbkd has joined #cinch
sarkyniin has joined #cinch
Crazy_Atheist has joined #cinch
Crazy_Atheist has quit [Quit: Bye]
Crazy_Atheist has joined #cinch
Guest6107 has quit [Ping timeout: 256 seconds]
djbkd has quit [Remote host closed the connection]
Crazy_Atheist has quit [Remote host closed the connection]
djbkd has joined #cinch
sarkyniin has quit [Quit: Quit]
sarkyniin has joined #cinch
Crazy_Atheist has joined #cinch
Saloun has joined #cinch
apt-get_ has joined #cinch
sarkyniin has quit [Ping timeout: 264 seconds]
Crazy_Atheist has quit [Read error: Connection reset by peer]
blindsight has joined #cinch
blindsight is now known as Guest73697
Crazy_Atheist has joined #cinch
Guest73697 has quit [Changing host]
Guest73697 has joined #cinch
apt-get__ has joined #cinch
apt-get_ has quit [Ping timeout: 245 seconds]
djbkd has quit [Remote host closed the connection]
britneywright has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
apeiros has joined #cinch
<apeiros> hi there
<leftylink> coworker commented on my PR telling me "don't forget to change these two files". coworker had forgotten to commit the files so I didn't even have them. doh.
djbkd has joined #cinch
djbkd has quit [Ping timeout: 255 seconds]
djbkd has joined #cinch
<apeiros> how does `match` work with a regex? especially with regards to anchoring?
<apeiros> i.e., if I write `match /command/`, is the resulting regex: /^!command/?
<apeiros> (due to default prefix)
apeiros is now known as apeiros_
<dominikh> apeiros_: yes.
apeiros_ is now known as apeiros
<dominikh> apeiros: the prefix and suffix are concated to the regexp to pass to match
<dominikh> (if the prefix/suffix is a string instead of a regexp, it will also be prefixed with ^ or suffixed with $ respectively)
<apeiros> hi there dominikh, long time no see :)
<dominikh> indeed
<apeiros> dominikh: how'd you verify a user is not spoofing? m.user.nick == required_user && m.user.authed? is insufficient as I just tested
<dominikh> well, for one, I wouldn't authenticate by nick, I would authenticate by authname
<apeiros> at least when jhass used "/nick apeiros" the check passed
<apeiros> ah, m.user.authname
<dominikh> (also, if you accept messages in private, you need a m.user.refresh to get fresh data. if you only accept messages in channels, Cinch takes care of it)
<apeiros> btw., plugins don't seem to like inheritance. I assume you run an included callback which initializes class ivars?
<dominikh> "maybe". It's been years since I looked at those bits
<apeiros> so:`m.user.refresh; m.user.authed? && Authorized.include?(m.user.authname) ? success : fail` is proper?
<dominikh> proper enough. there's still a possible attack, but you can't make it 100% safe if you accept private messages. (an unauthed user could invoke a command, quit, have the correct user connect and auth, before you managed to run #refresh)
<apeiros> ok. thanks :)
<dominikh> but actually, a channel message might be vulnerable to the same thing now that I think of it…
<apeiros> btw., you no longer frequent #ruby/#ruby-lang?
<dominikh> I no longer write a lot of Ruby, either ;)
<apeiros> :-O
<apeiros> what are you writing now?
<dominikh> (but no, I don't frequent most channels that face a lot of repetitive newbie questions anymore, in general)
<dominikh> I write Go now
<apeiros> ok. you got a job where you use go?
<dominikh> well, I freelance and have work involving Go
apeiros is now known as apeiros_
apeiros_ is now known as apeiros
<apeiros> nice :)
apt-get__ has quit [Remote host closed the connection]
djbkd has quit [Remote host closed the connection]
djbkd has joined #cinch
Crazy_Atheist has quit [Remote host closed the connection]
djbkd has quit [Remote host closed the connection]
djbkd has joined #cinch
djbkd has quit [Remote host closed the connection]