eggdrop icon indicating copy to clipboard operation
eggdrop copied to clipboard

In TCL we have to put "address" for addbot. In partyline it is optional (.+Bot)

Open ZarTek-Creole opened this issue 4 years ago • 0 comments

In TCL we have to put "address" for addbot. In partyline it is optional (.+bot) example :

with partyline :

[19:13:35] #ZarTek# +bot NET-FROMURL
Added bot 'NET-FROMURL' with no address and no hostmask.

with TCL:

<@ZarTek> .tcl addbot NET-FROMURL
<+MASTER> Error: wrong # args: should be "addbot handle address ?telnet-port ?relay-port??" - 0.149 ms
<@ZarTek> .tcl addbot NET-FROMURL localhost
<+MASTER> OK: 1 - 0.047 ms

There is a difference in behavior between the two. maybe the address value is mandatory for security reasons? Perhaps to avoid some of the most common problems discussed in issue #1126?

ZarTek-Creole avatar Feb 16 '21 18:02 ZarTek-Creole