mirror of
https://github.com/unrealircd/unrealircd.git
synced 2026-07-07 09:23:12 +02:00
Fix set::who-limit documentation and make IRCOps exempt from this limit.
reported by patphobos in https://bugs.unrealircd.org/view.php?id=5657
This commit is contained in:
@@ -1746,6 +1746,8 @@ void config_setdefaultsettings(Configuration *i)
|
||||
i->manual_ban_target = BAN_TARGET_HOST;
|
||||
|
||||
i->hide_idle_time = HIDE_IDLE_TIME_OPER_USERMODE;
|
||||
|
||||
i->who_limit = 100;
|
||||
}
|
||||
|
||||
static void make_default_logblock(void)
|
||||
|
||||
+1
-1
@@ -560,7 +560,7 @@ static void who_common_channel(Client *client, Channel *channel,
|
||||
static void who_global(Client *client, char *mask, int operspy, struct who_format *fmt)
|
||||
{
|
||||
Client *acptr;
|
||||
int maxmatches = WHOLIMIT ? WHOLIMIT : 100;
|
||||
int maxmatches = IsOper(client) ? INT_MAX : WHOLIMIT;
|
||||
|
||||
/* first, list all matching INvisible clients on common channels
|
||||
* if this is not an operspy who
|
||||
|
||||
Reference in New Issue
Block a user