rem: var cuser = e.channel.getUser(e.nickname);  if (!cuser) 
add: if (!e.user) e.user = e.channel.getUser(e.nickname);  if (!e.user) 
context: function cmdKick(e) {    var cuser = e.channel.getUser(e.nickname);    if (!cuser)    {        display(getMsg(MSG_ERR_UNKNOWN_USER, e.nickname), MT_ERROR);        return;    }    if (e.command.name == "kick-ban")    {        var hostmask = e.user.host.replace(/^[^.]+/, "*");        e.server.sendData("MODE " + e.channel.name + " +b *!" +                          e.user.name + "@" + hostmask + "\n");    }        cuser.kick(e.reason);}
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/7541bae4539f9a0ae2e561e155af17e2f02a1732/commands.js/buggy/extensions/irc/xul/content/commands.js