1
0

* move server's hostname on IRC to realname, part 1: config file and connect command

This commit is contained in:
root
2011-11-30 15:34:16 +02:00
parent c9846860dc
commit 51dd46e84e
2 changed files with 2 additions and 1 deletions

View File

@@ -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