summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYaohan Chen <yaohan.chen@gmail.com>2007-07-23 03:46:05 +0000
committerYaohan Chen <yaohan.chen@gmail.com>2007-07-23 03:46:05 +0000
commit69db4133c5ccfa41c35b43c67fce1d5ff640bfd5 (patch)
treed01dcd4a8f0d3d552d60b8bbb30bb2bc4bac7167
parent7f561654757f8f6c8b05a0ed03fe60da29c38965 (diff)
added 'alias rm' as alternative for 'alias remove'
-rw-r--r--data/rbot/plugins/alias.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/data/rbot/plugins/alias.rb b/data/rbot/plugins/alias.rb
index ca708b52..900df2c4 100644
--- a/data/rbot/plugins/alias.rb
+++ b/data/rbot/plugins/alias.rb
@@ -170,6 +170,9 @@ plugin.map 'alias whatis *text',
plugin.map 'alias remove *text',
:action => :cmd_remove,
:auth_path => 'edit'
+plugin.map 'alias rm *text',
+ :action => :cmd_remove,
+ :auth_path => 'edit'
plugin.map 'alias *text => *command',
:action => :cmd_add,
:auth_path => 'edit'