summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaine Virta <rane@kapsi.fi>2009-03-02 00:27:25 +0200
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2009-03-03 20:52:11 +0100
commit802785345af79ab9811bb2d63943fe5f3d5047cc (patch)
treed75ac093cd3a2533def3334536335a88b8637b09
parentbfbe357cda0eb7e97cfef346440f2efd032a2d59 (diff)
config: add alias config remove
-rw-r--r--lib/rbot/core/config.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/rbot/core/config.rb b/lib/rbot/core/config.rb
index be629f98..939b5299 100644
--- a/lib/rbot/core/config.rb
+++ b/lib/rbot/core/config.rb
@@ -306,6 +306,9 @@ conf.map 'config add *value to :key',
conf.map 'config rm *value from :key',
:action => 'handle_rm',
:auth_path => 'edit'
+conf.map 'config remove *value from :key',
+ :action => 'handle_rm',
+ :auth_path => 'edit'
conf.map 'config del *value from :key',
:action => 'handle_rm',
:auth_path => 'edit'