From ad7a0535d160fe63364dd3c0514f158b37f54e1d Mon Sep 17 00:00:00 2001
From: deuce <>
Date: Sun, 9 Oct 2011 07:10:30 +0000
Subject: [PATCH] Change to the standard getter declaration.

---
 exec/load/ircd_user.js | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/exec/load/ircd_user.js b/exec/load/ircd_user.js
index a6998ec209..864dae13d6 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 //////////
-- 
GitLab