Skip to content

Commit ffc54dc

Browse files
Fix setting of user.host (#306)
1 parent c89249e commit ffc54dc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/client.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ module.exports = class IrcClient extends EventEmitter {
270270

271271
commands.on('displayed host', function(event) {
272272
if (client.user.nick === event.nick) {
273-
client.user.host = event.host;
273+
client.user.host = event.hostname;
274274
}
275275
});
276276

0 commit comments

Comments
 (0)