diff --git a/exec/load/ircbot_commands.js b/exec/load/ircbot_commands.js
index d58f01eac5ba47224e815d5e9b2cf53a9f02d6fa..dbe35c8b0fdd1b2984c10ff78c73e206ef301c78 100644
--- a/exec/load/ircbot_commands.js
+++ b/exec/load/ircbot_commands.js
@@ -259,7 +259,7 @@ Bot_Commands["QUOTE"].command = function (target,onick,ouh,srv,lvl,cmd) {
 		srv.o(target,"Couldn't find a quote that matches your criteria.");
 		return;
 	}
-	srv.o(target, quotes[random(Quotes.length)]);
+	srv.o(target, Quotes[random(Quotes.length)]);
 	return;
 }