fixed chat parser throwing error

chat parser was throwing error when /dig was used.