Skip to content
Browse files

added '-' to armory/weapons rewrite rules

  • Loading branch information...
1 parent b8c6d5f commit 922274e6dee99eacd605db0e5e7fc10d5b2fd0e5 @mikejsavage committed Apr 2, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 README
View
4 README
@@ -78,11 +78,11 @@ url.rewrite-once += (
"weapons/?$" => "weapons.lua",
"weapons/([a-z]+)/?$" => "weapons.lua?class=$1",
- "weapons/([a-z]+)/([A-Za-z0-9_+]+)/?$" => "weapons.lua?class=$1&name=$2",
+ "weapons/([a-z]+)/([A-Za-z0-9_+-]+)/?$" => "weapons.lua?class=$1&name=$2",
"armory/?$" => "armory.lua",
"armory/([a-z]+)/?$" => "armory.lua?class=$1",
- "armory/([a-z]+)/([A-Za-z0-9_+]+)/?$" => "armory.lua?class=$1&name=$2",
+ "armory/([a-z]+)/([A-Za-z0-9_+-]+)/?$" => "armory.lua?class=$1&name=$2",
"items/?$" => "items.lua",
"items/([A-Za-z0-9_+-]+)/?$" => "items.lua?item=$1",

0 comments on commit 922274e

Please sign in to comment.
Something went wrong with that request. Please try again.