Commit 5c51574
committed
Fix casing problems in %Previous and @reDIrect
The `reply_regexp()` function now lowercases the result so that any tags
like `<bot>` get properly lowercased (fixes aichaos#80 WRT %Previous)
Also implements a fix from the Go version where redirects weren't
getting lowercased before being followed, which caused similar matching
issues.1 parent 76a3381 commit 5c51574
1 file changed
Lines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
228 | 228 | | |
229 | 229 | | |
230 | 230 | | |
231 | | - | |
| 231 | + | |
232 | 232 | | |
233 | 233 | | |
234 | 234 | | |
| |||
307 | 307 | | |
308 | 308 | | |
309 | 309 | | |
| 310 | + | |
310 | 311 | | |
311 | 312 | | |
312 | 313 | | |
| |||
500 | 501 | | |
501 | 502 | | |
502 | 503 | | |
503 | | - | |
| 504 | + | |
504 | 505 | | |
505 | 506 | | |
506 | 507 | | |
| |||
0 commit comments