Permalink
Browse files

Join channels on /invite.

  • Loading branch information...
1 parent 9beda67 commit 0a5edbd3c5b84057eb81fe5ccf0b43ac3a89ca7d @whitequark committed Apr 9, 2013
Showing with 6 additions and 1 deletion.
  1. +6 −1 lib/irclogger/cinch_plugin.rb
@@ -143,5 +143,10 @@ def on_quit(m)
end
end
end
+
+ listen_to :invite, method: :on_invite
+ def on_invite(m)
+ bot.join(m.channel)
+ end
end
-end
+end

0 comments on commit 0a5edbd

Please sign in to comment.