mirror of
https://git.wownero.com/wownero/tippero.git
synced 2024-08-15 00:33:14 +00:00
Make the IRC welcome "trigger" line a setting
This commit is contained in:
parent
670b9c49f8
commit
2212021091
1 changed files with 2 additions and 1 deletions
|
@ -41,6 +41,7 @@ irc_port = 6667
|
|||
irc_homechan = '#txtptest000'
|
||||
irc_timeout_seconds = 600
|
||||
irc_send_delay = 0.4
|
||||
irc_welcome_line = 'Welcome to the freenode Internet Relay Chat Network'
|
||||
|
||||
redis_host="127.0.0.1"
|
||||
redis_port=7777
|
||||
|
@ -973,7 +974,7 @@ while True:
|
|||
# consider any IRC data as a ping
|
||||
last_ping_time = time.time()
|
||||
|
||||
if data.find ( 'Welcome to the freenode Internet Relay Chat Network' ) != -1:
|
||||
if data.find ( irc_welcome_line ) != -1:
|
||||
userstable = dict()
|
||||
registered_users.clear()
|
||||
SendTo("nickserv", "IDENTIFY %s" % GetPassword())
|
||||
|
|
Loading…
Reference in a new issue