mirror of
https://github.com/bettercap/bettercap
synced 2025-08-14 02:36:57 -07:00
misc: small fix or general refactoring i did not bother commenting
This commit is contained in:
parent
e98975a213
commit
b6979f2baf
1 changed files with 0 additions and 1 deletions
|
@ -92,7 +92,6 @@ func (l *TriggerList) Dispatch(e session.Event) (ident string, cmd string, err e
|
|||
|
||||
for id, t := range l.triggers {
|
||||
if e.Tag == t.For {
|
||||
|
||||
// this is ugly but it's also the only way to allow
|
||||
// the user to do this easily - since each event Data
|
||||
// field is an interface and type casting is not possible
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue