projects
/
citadel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
290d27d
)
* roomchat_rwho(), roomchat_poll(): gcc likes bit operations in logical operations...
author
Wilfried Göesgens
<willi@citadel.org>
Sun, 16 May 2010 20:49:51 +0000
(20:49 +0000)
committer
Wilfried Göesgens
<willi@citadel.org>
Sun, 16 May 2010 20:49:51 +0000
(20:49 +0000)
citadel/modules/roomchat/serv_roomchat.c
patch
|
blob
|
history
diff --git
a/citadel/modules/roomchat/serv_roomchat.c
b/citadel/modules/roomchat/serv_roomchat.c
index b3348078c991912b0db6bac756f5c7ee33886be7..63feceb51e82246158ab433acddf087e3a39ed2c 100644
(file)
--- a/
citadel/modules/roomchat/serv_roomchat.c
+++ b/
citadel/modules/roomchat/serv_roomchat.c
@@
-174,7
+174,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
+206,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;
}