src/hash.c (FLAGS_NOIDLE): New macro for +I (hide idle time) mode.
(IsNoIdle): New macro to test it.
src/opserv.c (cmd_whois): Test no-idle mode.
src/proto-p10.c (irc_user): Check for no-idle mode.
(mod_usermode): Check for +I flag.
git-archimport-id: srvx@srvx.net--2006/srvx--devo--1.3--patch-65
# arch-tag: automatic-ChangeLog--srvx@srvx.net--2006/srvx--devo--1.3
#
+2006-10-27 00:44:35 GMT Michael Poole <mdpoole@troilus.org> patch-65
+
+ Summary:
+ Support +I while we're adding modes..
+ Revision:
+ srvx--devo--1.3--patch-65
+
+ src/hash.c (FLAGS_NOIDLE): New macro for +I (hide idle time) mode.
+ (IsNoIdle): New macro to test it.
+
+ src/opserv.c (cmd_whois): Test no-idle mode.
+
+ src/proto-p10.c (irc_user): Check for no-idle mode.
+ (mod_usermode): Check for +I flag.
+
+ modified files:
+ ChangeLog src/proto-p10.c
+
+
2006-10-27 00:35:00 GMT Michael Poole <mdpoole@troilus.org> patch-64
Summary:
modes[modelen++] = 'n';
if (IsHiddenHost(user))
modes[modelen++] = 'x';
+ if (IsNoIdle(user))
+ modes[modelen++] = 'I';
modes[modelen] = 0;
/* we don't need to put the + in modes because it's in the format string. */
case 'k': do_user_mode(FLAGS_SERVICE); break;
case 'g': do_user_mode(FLAGS_GLOBAL); break;
case 'n': do_user_mode(FLAGS_NOCHAN); break;
+ case 'I': do_user_mode(FLAGS_NOIDLE); break;
case 'x': do_user_mode(FLAGS_HIDDEN_HOST); break;
case 'r':
if (*word) {