module Cinch::Plugin::ClassMethods
Public Instance Methods
enable_acl(lvl= :nobody, secure_chan=false)
click to toggle source
# File lib/Zeta/access.rb, line 5 def enable_acl(lvl= :nobody, secure_chan=false) hook(:pre, :for => [:match], :method => lambda { |m| check?(m,lvl,secure_chan) }) end