Class | AuthModule |
In: |
lib/rbot/core/auth.rb
|
Parent: | CoreBotModule |
Author: | Giuseppe "Oblomov" Bilotta <giuseppe.bilotta@gmail.com> |
The permission parameters accept arguments with the following syntax:
cmd_path... [on #chan .... | in here | in private]
This auxiliary method scans the array ar to see if it matches the given syntax: it expects + or - signs in front of cmd_path elements when setting = true
It returns an array whose first element is the array of cmd_path, the second element is an array of locations and third an array of warnings occurred while parsing the strings