Changeset

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
parents 10132:b59535964e81
children 10134:e5132c4cfb81
files prosodyctl
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
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()