Skip to content
Snippets Groups Projects
Commit aec9fa17 authored by deuce's avatar deuce
Browse files

Finish removing references to the srv object.

parent 1c9c5a68
No related branches found
No related tags found
No related merge requests found
......@@ -26,7 +26,7 @@ function get_nicklocation(userhost,srvhost,nick)
}
try {
var userhost=srv.users[nick.toUpperCase()].uh.replace(/^.*\@/,'');
var userhost=userhost.replace(/^.*\@/,'');
// If the hostname is not a FQDN, use the server name and replace the first element...
if(userhost.indexOf('.')==-1)
userhost += (srvhost.replace(/^[^\.]+\./,'.'));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment