Advertisement
Azure

The epic bug-catching line (of code)

Mar 17th, 2012
354
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.60 KB | None | 0 0
  1. <dominikh> okay, in that case it actually was caused by the bug I fixed
  2. <dominikh> you've got some amazing code, triggering two different bugs with the same line of code
  3. <NotAzure> Haha...ha...ha. Yeah. It's bad. :p
  4. <dominikh> I consider it great
  5. <NotAzure> It's just right strange. :p
  6. <dominikh> well, in the cases when they're actually bugs in my code...
  7. <dominikh> and not bugs in IRCds so I waste an hour debugging :P
  8.  
  9. Line referenced:
  10. return unless config[:admins].logged_in?(m.user.mask("#{m.user.last_nick}!%u@%h"))
  11. (https://github.com/mseymour/azurebot/blob/master/lib/plugins/adminhandler.rb#L59)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement