Fix typo in "gtrace criteria" help entry.
authorMichael Poole <mdpoole@troilus.org>
Sat, 23 Dec 2006 05:33:28 +0000 (05:33 +0000)
committerMichael Poole <mdpoole@troilus.org>
Sat, 23 Dec 2006 05:33:28 +0000 (05:33 +0000)
src/opserv.help (gtrace criteria): Fix capitalization of $b tag.
git-archimport-id: srvx@srvx.net--2006/srvx--devo--1.3--patch-73

ChangeLog
src/proto-common.c

index 81dac9302444dd4aceca04e709d83df7fc2b7034..293157f020ceacff34342966a79e128007244d63 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,6 +2,19 @@
 # arch-tag: automatic-ChangeLog--srvx@srvx.net--2006/srvx--devo--1.3
 #
 
+2006-12-23 05:33:28 GMT        Michael Poole <mdpoole@troilus.org>     patch-73
+
+    Summary:
+      Fix typo in "gtrace criteria" help entry.
+    Revision:
+      srvx--devo--1.3--patch-73
+
+    src/opserv.help (gtrace criteria): Fix capitalization of $b tag.
+
+    modified files:
+     ChangeLog src/proto-common.c
+
+
 2006-12-23 05:31:56 GMT        Michael Poole <mdpoole@troilus.org>     patch-72
 
     Summary:
index daf4b868d558f971ce2f62283697be6b8190d0c1..f681a6ab1f86de7a87c56f1b5de346993d5e3ffa 100644 (file)
@@ -439,9 +439,8 @@ privmsg_chan_helper(struct chanNode *cn, void *data)
     if ((mn = GetUserMode(cn, pd->user)))
         mn->idle_since = now;
 
-    /* Never send a NOTICE to a channel to one of the services */
-    if (!pd->is_notice && cf->func
-        && ((cn->modes & MODE_REGISTERED) || GetUserMode(cn, cf->service)))
+    if (cf->func && !pd->is_notice
+        && (GetUserMode(cn, cf->service) && !IsDeaf(cf->service)))
         cf->func(pd->user, cn, pd->text+1, cf->service);
 
     /* This catches *all* text sent to the channel that the services server sees */