diff --git a/exec/load/ircd_user.js b/exec/load/ircd_user.js index a6998ec209507633042febe6b306f7934c0b5383..864dae13d647558b7f5d53eccd6ed765bd42da7d 100644 --- a/exec/load/ircd_user.js +++ b/exec/load/ircd_user.js @@ -245,9 +245,10 @@ function IRC_User(id) { this.numeric481=IRCClient_numeric481; this.numeric482=IRCClient_numeric482; // Getters - this.nuh getter = function() { + this.__defineGetter__("nuh", function() { return(this.nick + "!" + this.uprefix + "@" + this.hostname); - }; + }); + } ////////// Command Parser //////////