chiark / gitweb /
*** empty log message ***
[sympathy.git] / src / cmd.c
index 34dc2f4e54bd42db849423094d2deb3a86f239c3..c2d5e57a41dad57f6dcc5afde13c3e673896ce42 100644 (file)
--- a/src/cmd.c
+++ b/src/cmd.c
@@ -10,6 +10,9 @@ static char rcsid[] = "$Id$";
 
 /*
  * $Log$
+ * Revision 1.8  2008/02/29 22:50:29  james
+ * *** empty log message ***
+ *
  * Revision 1.7  2008/02/28 22:00:42  james
  * *** empty log message ***
  *
@@ -136,6 +139,14 @@ cmd_key (Cmd * c, Context * ctx,ANSI *a, int key)
 }
 
 
+int
+cmd_deactivate (Cmd * c, Context * ctx)
+{
+  c->active = 0;
+  cmd_show_status (c, ctx);
+  return 0;
+}
+
 int
 cmd_activate (Cmd * c, Context * ctx)
 {