summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorubq323 <ubq323@ubq323.website>2024-03-30 21:40:38 +0000
committerubq323 <ubq323@ubq323.website>2024-03-30 21:40:38 +0000
commit904c5ac0e0b8cb40346eb04a142eb1f51ba2ed24 (patch)
treec898937043d707776deb3a809011c001e0598da6
parentc15d763a84dd667118d0958c95441403f5745ba8 (diff)
listener
-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