comparison 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
comparison
equal deleted inserted replaced
250:cba604389d92 251:adab8c69b27d
721 end 721 end
722 end 722 end
723 raw_db.build_num = build_num 723 raw_db.build_num = build_num
724 raw_db.version = DB_VERSION 724 raw_db.version = DB_VERSION
725 725
726 self:RegisterChatCommand("comment", private.ProcessCommentCommand) 726 if DEBUGGING then -- TODO: Remove this when comment subsystem is finished.
727 self:RegisterChatCommand("comment", private.ProcessCommentCommand)
728 end
727 end 729 end
728 730
729 731
730 function WDP:EventDispatcher(...) 732 function WDP:EventDispatcher(...)
731 local event_name = ... 733 local event_name = ...