mcabber/src/commands.c
changeset 1485 0121b6f3047c
parent 1484 7b36b91a4388
child 1503 c74cfe7fd848
--- a/mcabber/src/commands.c	Sun Apr 20 14:30:25 2008 +0200
+++ b/mcabber/src/commands.c	Sun Apr 20 16:06:37 2008 +0200
@@ -213,6 +213,7 @@
   compl_add_category_word(COMPL_BUFFER, "scroll_unlock");
   compl_add_category_word(COMPL_BUFFER, "scroll_toggle");
   compl_add_category_word(COMPL_BUFFER, "list");
+  compl_add_category_word(COMPL_BUFFER, "save");
 
   // Group category
   compl_add_category_word(COMPL_GROUP, "fold");
@@ -1630,6 +1631,8 @@
     buffer_date(arg);
   } else if (*subcmd == '%') {
     buffer_percent(subcmd+1, arg);
+  } else if (!strcasecmp(subcmd, "save")) {
+    scr_BufferDump(arg);
   } else if (!strcasecmp(subcmd, "list")) {
     scr_BufferList();
   } else {