diff options
-rw-r--r-- | lib/rbot/core/auth.rb | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/lib/rbot/core/auth.rb b/lib/rbot/core/auth.rb index 1fec6e4b..77b2e958 100644 --- a/lib/rbot/core/auth.rb +++ b/lib/rbot/core/auth.rb @@ -738,21 +738,16 @@ auth.map "user create :name :password", :defaults => {:password => nil},
:auth_path => ':manage:'
-auth.map "user cancel destroy :name :password",
+auth.map "user [cancel] destroy :name :password",
:action => 'auth_destroy_user',
:defaults => { :password => nil },
:auth_path => ':manage::destroy:'
-auth.map "user destroy :name :password",
- :action => 'auth_destroy_user',
- :defaults => { :password => nil },
- :auth_path => ':manage:'
-
-auth.map "user copy :source :dest",
+auth.map "user copy :source [to] :dest",
:action => 'auth_copy_ren_user',
:auth_path => ':manage:'
-auth.map "user rename :source :dest",
+auth.map "user rename :source [to] :dest",
:action => 'auth_copy_ren_user',
:auth_path => ':manage:'
|