You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If the user is not known, it returns default value which is 0.
Peharps could it be better to initialize it to -1 (user unknown), sets it to 0 if entering the condition and then do the stuff.
The text was updated successfully, but these errors were encountered:
In a script, I want to act only if user is not known as halfop or more.
Logical test:
if {[matchattr $handle -l|-l $chan]} { ... do stuff }
But if user is not known, matchattr returns 0, as if the user has the +l flag.
Culprits:
eggdrop/src/tcluser.c
Line 254 in e28a0a0
eggdrop/src/tcluser.c
Line 258 in e28a0a0
If the user is not known, it returns default value which is 0.
Peharps could it be better to initialize it to -1 (user unknown), sets it to 0 if entering the condition and then do the stuff.
The text was updated successfully, but these errors were encountered: