* Show actual upper bound used to trim users.
* Update whether an user being unsuspended is in the channel.
* Add a missing "break;" so that /clearmodes c doesn't clear NOCTCPS too.
git-archimport-id: srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-73
# arch-tag: automatic-ChangeLog--srvx@srvx.net--2004-srvx/srvx--devo--1.3
#
+2004-07-19 03:38:09 GMT Michael Poole <mdpoole@troilus.org> patch-73
+
+ Summary:
+ Bugfixes for !trim users, !unsuspend and /clearmodes
+ Revision:
+ srvx--devo--1.3--patch-73
+
+ * Show actual upper bound used to trim users.
+
+ * Update whether an user being unsuspended is in the channel.
+
+ * Add a missing "break;" so that /clearmodes c doesn't clear NOCTCPS too.
+
+ modified files:
+ ChangeLog src/chanserv.c src/proto-p10.c
+
+
2004-07-12 19:06:38 GMT Michael Poole <mdpoole@troilus.org> patch-72
Summary:
if(!max_access)
{
min_access = 1;
- max_access = UL_OWNER;
+ max_access = (uData->access >= UL_OWNER) ? UL_OWNER : (uData->access - 1);
}
send_message(user, chanserv, "CSMSG_TRIMMED_USERS", count, min_access, max_access, channel->name, intervalString(interval, duration, user->handle_info));
return 1;
return 0;
}
target->flags &= ~USER_SUSPENDED;
+ scan_user_presence(target, NULL);
reply("CSMSG_USER_UNSUSPENDED", hi->handle, channel->name);
return 1;
}
case 'b': remove |= MODE_BAN; break;
case 'D': remove |= MODE_DELAYJOINS; break;
case 'r': remove |= MODE_REGONLY; break;
- case 'c': remove |= MODE_NOCOLORS;
+ case 'c': remove |= MODE_NOCOLORS; break;
case 'C': remove |= MODE_NOCTCPS; break;
}
}