diff options
| author | 2026-04-12 21:19:43 +0000 | |
|---|---|---|
| committer | 2026-04-12 18:08:03 -0600 | |
| commit | 566fa6f510f117487c80975281a4aeb6f9f7a0b5 (patch) | |
| tree | aab705b849a5d196dfeddd9bf9843b75613444c4 | |
| parent | *-chat: Don't relay messages from nullbot or kh2i (diff) | |
transferinliner: ignore wpull2-db-edit from +o
| -rw-r--r-- | transferinliner.tcl | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/transferinliner.tcl b/transferinliner.tcl index 72813cb..4128c93 100644 --- a/transferinliner.tcl +++ b/transferinliner.tcl @@ -17,6 +17,12 @@ proc outputATTLink {nick uhost hand chan text} { putlog "\[transferinliner\] ignoring transfer link from $nick!$uhost in $chan - line starts with ! ($text)" return 0 } + if {[isop $nick $chan]} { + if {[string match "*wpull2-db-edit*" $text} { + putlog "\[transferinliner\] ignoring transfer link from $nick!$uhost in $chan - user is op and line is wpull2-db-edit request ($text)" + return 0 + } + } set accthand [finduser -account [getaccount $nick]] if {[string match $accthand "*"]} { # not needed once eggdrop adds support for nickserv account to nick2hand |
