diff Main.lua @ 251:adab8c69b27d

Don't register comment command unless debugging.
author James D. Callahan III <jcallahan@curse.com>
date Sat, 16 Mar 2013 20:30:34 -0500
parents cba604389d92
children 5a895250748c
line wrap: on
line diff
--- a/Main.lua	Sat Mar 16 20:27:55 2013 -0500
+++ b/Main.lua	Sat Mar 16 20:30:34 2013 -0500
@@ -723,7 +723,9 @@
     raw_db.build_num = build_num
     raw_db.version = DB_VERSION
 
-    self:RegisterChatCommand("comment", private.ProcessCommentCommand)
+    if DEBUGGING then -- TODO: Remove this when comment subsystem is finished.
+        self:RegisterChatCommand("comment", private.ProcessCommentCommand)
+    end
 end