]> code.citadel.org Git - citadel.git/blobdiff - citadel/modules/roomchat/serv_roomchat.c
Removed references to Subversion in the code
[citadel.git] / citadel / modules / roomchat / serv_roomchat.c
index b3348078c991912b0db6bac756f5c7ee33886be7..fbe16403d204678a85aa1136cc03d7b00170ad3c 100644 (file)
@@ -1,6 +1,4 @@
 /*
- * $Id$
- *
  * This module handles instant messaging between users.
  * 
  * Copyright (c) 2010 by the citadel.org team
@@ -174,7 +172,7 @@ void roomchat_poll(char *argbuf) {
 
        newer_than = extract_int(argbuf, 1);
 
-       if (!CC->cs_flags & CS_CHAT) {
+       if ((CC->cs_flags & CS_CHAT) == 0) {
                cprintf("%d Session is not in chat mode.\n", ERROR);
                return;
        }
@@ -206,7 +204,7 @@ void roomchat_rwho(char *argbuf) {
        struct CitContext *nptr;
        int nContexts, i;
 
-       if (!CC->cs_flags & CS_CHAT) {
+       if ((CC->cs_flags & CS_CHAT) == 0) {
                cprintf("%d Session is not in chat mode.\n", ERROR);
                return;
        }
@@ -273,6 +271,6 @@ CTDL_MODULE_INIT(roomchat)
                CtdlRegisterSessionHook(roomchat_shutdown, EVT_SHUTDOWN);
        }
        
-       /* return our Subversion id for the Log */
-       return "$Id$";
+       /* return our module name for the log */
+       return "roomchat";
 }