]> code.citadel.org Git - citadel.git/blobdiff - citadel/modules/rwho/serv_rwho.c
Added a RENU command (REName a User)
[citadel.git] / citadel / modules / rwho / serv_rwho.c
index 16746dfe9f00d082a784c3504817f1ad28e9b3ff..272a0de9e7e28d598f60ad7b5fd271996400ddb4 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * $Id$
  *
- * This module implementsserver commands related to the display and
+ * This module implements server commands related to the display and
  * manipulation of the "Who's online" list.
  *
  */
@@ -154,7 +154,7 @@ void cmd_rwho(char *argbuf) {
         */
        PerformSessionHooks(EVT_RWHO);
        cprintf("000\n");
-       }
+}
 
 
 /*
@@ -238,9 +238,11 @@ void cmd_stel(char *cmdbuf)
 
        if (requested_mode == 1) {
                CC->cs_flags = CC->cs_flags | CS_STEALTH;
+               PerformSessionHooks(EVT_STEALTH);
        }
        if (requested_mode == 0) {
                CC->cs_flags = CC->cs_flags & ~CS_STEALTH;
+               PerformSessionHooks(EVT_UNSTEALTH);
        }
 
        cprintf("%d %d\n", CIT_OK,
@@ -248,11 +250,6 @@ void cmd_stel(char *cmdbuf)
 }
 
 
-
-
-
-
-
 CTDL_MODULE_INIT(rwho)
 {
        if(!threading)