summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--listener.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/listener.lua b/listener.lua
index 66d7f21..09f92aa 100644
--- a/listener.lua
+++ b/listener.lua
@@ -9,7 +9,7 @@ function main()
if parsed.msg then
print("got msg",parsed.msg)
-- more sophisticated cmds later, maybe
- local pkgname = parsed.msg
+ local pkgname = parsed.msg:gsub("%s","")
pm.dl(pkgname)
multishell.run(pkgname..'.lua')
end