panel = _kiwi.app.panels().active;
if (event.ident) {
- panel.addMsg(event.nick, styleText('whois_ident', {nick: event.nick, ident: event.ident, host: event.host, text: event.msg}), 'whois');
+ panel.addMsg(event.nick, styleText('whois_ident', {nick: event.nick, ident: event.ident, host: event.hostname, text: event.msg}), 'whois');
} else if (event.chans) {
panel.addMsg(event.nick, styleText('whois_channels', {nick: event.nick, text: translateText('client_models_network_channels', [event.chans])}), 'whois');
panel = _kiwi.app.panels().active;
if (event.host) {
- panel.addMsg(event.nick, styleText('who', {nick: event.nick, ident: event.ident, host: event.host, realname: event.real_name, text: event.msg}), 'whois');
+ panel.addMsg(event.nick, styleText('who', {nick: event.nick, ident: event.ident, host: event.hostname, realname: event.real_name, text: event.msg}), 'whois');
} else {
panel.addMsg(event.nick, styleText('whois_notfound', {nick: event.nick, text: translateText('client_models_network_nickname_notfound', [])}), 'whois');
}
this.irc_connection.clientEvent('whois', {\r
nick: event.nick,\r
ident: event.ident,\r
- host: event.host,\r
+ hostname: event.host,\r
msg: event.msg,\r
end: false\r
});\r
this.irc_connection.clientEvent('whowas', {\r
nick: event.nick,\r
ident: event.user,\r
- host: event.host,\r
+ hostname: event.host,\r
real_name: event.real_name,\r
end: false\r
});\r