fix
authorThomasV <thomasv@gitorious>
Wed, 23 Nov 2011 11:46:16 +0000 (14:46 +0300)
committerThomasV <thomasv@gitorious>
Wed, 23 Nov 2011 11:46:16 +0000 (14:46 +0300)
server.py

index b54797d..27881b1 100755 (executable)
--- a/server.py
+++ b/server.py
@@ -442,7 +442,7 @@ def irc_thread():
         try:
             s = socket.socket()
             s.connect(('irc.freenode.net', 6667))
-            s.send('USER '+HOST+' '+NICK+' bla :'+NICK+'\n') 
+            s.send('USER '+config.get('server','host')+' '+NICK+' bla :'+NICK+'\n') 
             s.send('NICK '+NICK+'\n')
             s.send('JOIN #electrum\n')
             t = 0