summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/roles.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/roles.lua b/lib/roles.lua
index 5754ac1..dcf2bd9 100644
--- a/lib/roles.lua
+++ b/lib/roles.lua
@@ -39,7 +39,7 @@ get_controllers = function(self,controller)
--we need to grab the directory and name of file
local temp = {}
for k,v in pairs(list) do
- path = string.match(v,"[/%w-]+/")
+ path = string.match(v,"[/%w_-]+/")
filename = string.match(v,"[^/]*.lua")
name = string.match(filename,"[^.]*")
sname = string.match(filename,"[^-]*")