Diff

prosodyctl @ 10133:73bae75c6d77

prosodyctl: Corrected the calls to the recently moved function 'admin_operation'
author João Duarte <jvsDuarte08@gmail.com>
date Tue, 25 Jun 2019 13:22:22 +0100
parent 10132:b59535964e81
child 10134:e5132c4cfb81
line wrap: on
line diff
--- a/prosodyctl	Tue Jun 25 13:20:54 2019 +0100
+++ b/prosodyctl	Tue Jun 25 13:22:22 2019 +0100
@@ -99,11 +99,11 @@
 end
 
 function commands.admin_add(arg)
-  admin_operation("add ", arg)
+  prosodyctl.admin_operation("add ", arg)
 end
 
 function commands.admin_remove(arg)
-  admin_operation("remove ", arg)
+  prosodyctl.admin_operation("remove ", arg)
 end
 
 function commands.enabled_plugins()