* move server's hostname on IRC to realname, part 1: config file and connect command
This commit is contained in:
parent
c9846860dc
commit
51dd46e84e
|
@ -4,6 +4,7 @@ port = 50000
|
|||
password = secret
|
||||
banner = Welcome to Electrum!
|
||||
irc = yes
|
||||
ircname = public Electrum server
|
||||
|
||||
[database]
|
||||
type = sqlite3
|
||||
|
|
|
@ -443,7 +443,7 @@ def irc_thread():
|
|||
try:
|
||||
s = socket.socket()
|
||||
s.connect(('irc.freenode.net', 6667))
|
||||
s.send('USER '+config.get('server','host')+' '+NICK+' bla :'+NICK+'\n')
|
||||
s.send('USER electrum 0 * '+config.get('server','host')+' '+config.get('server','ircname')+'\n')
|
||||
s.send('NICK '+NICK+'\n')
|
||||
s.send('JOIN #electrum\n')
|
||||
t = 0
|
||||
|
|
Loading…
Reference in New Issue