fix typo in bangtag aliases parsing

staging
multiple creatures 2019-07-23 16:43:25 -05:00
parent 4836e1f5df
commit d377c828ef
1 changed files with 1 additions and 1 deletions

View File

@ -64,7 +64,7 @@ class Bangtags
cmd = prefix + cmd unless prefix.nil?
@aliases.each_key do |old_cmd|
cmd = aliases[old_cmd] + cmd.drop(old_cmd.length) if cmd.take(old_cmd.length) == old_cmd
cmd = @aliases[old_cmd] + cmd.drop(old_cmd.length) if cmd.take(old_cmd.length) == old_cmd
end
elsif chunk.in?(['#!comment:end', '#!comment:stop', '#!comment:endall', '#!comment:stopall'])
@vore_stack.pop