empus / armour

Armour -- an advanced eggdrop channel protection script for IRC
13 stars 11 forks source link

Possible bug on armour.tcl line 653 #145

Open gnecula-zz opened 5 months ago

gnecula-zz commented 5 months ago

statement elseif {regexp -- {^*$} $cmdprefix]} produces an error "[10:00:31] invalid bareword "regexp" in expression "regexp -- {^*$} $cmdprefix]"; should be "$regexp" or "{regexp}" or "regexp(...)" or ... (parsing expression "regexp -- {^*$} $cmdp...")"

I changed it to elseif {[regexp -- {^*$} $cmdprefix]} and it works.

If autoupdate is on, it comes back

empus commented 4 months ago

This report doesn't explain where this code is, or what triggers it, and what the outcome is.

armour on Undernet is the best place to seek support, too!