Class: BetterCap::Parsers::Irc
- Defined in:
- lib/bettercap/sniffer/parsers/irc.rb
Overview
IRC protocol parser.
Instance Method Summary collapse
-
#initialize ⇒ Irc
constructor
A new instance of Irc.
Methods inherited from Base
available, from_cmdline, inherited, load_by_names, load_custom, #on_packet
Constructor Details
#initialize ⇒ Irc
Returns a new instance of Irc.
18 19 20 21 |
# File 'lib/bettercap/sniffer/parsers/irc.rb', line 18 def initialize @filters = [ /NICK\s+.+/, /NS IDENTIFY\s+.+/, /nickserv :identify\s+.+/ ] @name = 'IRC' end |