Commit 8a48b32
committed
Fix lock check bug
Lock checking on an IP (anonymous editor) would crash the script as IPs
can't be locked. As such, adjusting approach to account for this by
making sure they aren't an anonymous user first.1 parent 4a31ad5 commit 8a48b32
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
67 | | - | |
| 67 | + | |
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
| |||
0 commit comments