Fix previous commit
authorDarren <darren@darrenwhitlen.com>
Sun, 5 Jan 2014 23:40:56 +0000 (23:40 +0000)
committerDarren <darren@darrenwhitlen.com>
Sun, 5 Jan 2014 23:40:56 +0000 (23:40 +0000)
server/irc/connection.js

index f28fd65ac0a6ad86e3d7543363431e4898c55c43..1a9fe63e6de5282e6a36e81eb05a1cc0939892f6 100644 (file)
@@ -574,7 +574,7 @@ var socketConnectHandler = function () {
 
         if (global.config.default_gecos) {
             gecos = global.config.default_gecos.toString().replace('%n', that.nick);
-            gecos = gecos.toString().replace('%h', that.irc_host.hostname);
+            gecos = gecos.toString().replace('%h', that.user.hostname);
         }
 
         // Send any initial data for webirc/etc