projects
/
citadel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
* New session variable 'can_receive_im' which indicates that the session is running...
[citadel.git]
/
citadel
/
modules
/
chat
/
serv_chat.c
diff --git
a/citadel/modules/chat/serv_chat.c
b/citadel/modules/chat/serv_chat.c
index 2cf3bb233da43313ae483ffc938af174f9dca7be..024cca2e30c2ac76dbc9842a30f62534275d2386 100644
(file)
--- a/
citadel/modules/chat/serv_chat.c
+++ b/
citadel/modules/chat/serv_chat.c
@@
-591,6
+591,7
@@
int send_instant_message(char *lun, char *lem, char *x_user, char *x_msg)
if ( ((!strcasecmp(un, x_user))
|| (!strcasecmp(x_user, "broadcast")))
+ && (ccptr->can_receive_im)
&& ((ccptr->disable_exp == 0)
|| (CC->user.axlevel >= 6)) ) {
if (do_send) {