mirror of
https://github.com/wownero/tippero.git
synced 2026-10-17 15:51:33 +02:00
Make the IRC welcome "trigger" line a setting
This commit is contained in:
@@ -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())
|
||||
|
||||
Reference in New Issue
Block a user