eggdrop
eggdrop copied to clipboard
In TCL we have to put "address" for addbot. In partyline it is optional (.+Bot)
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?