mirror of
https://github.com/anope/anope.git
synced 2026-07-09 02:03:14 +02:00
DP in "an user" grammar police mode.
This commit is contained in:
+2
-2
@@ -851,7 +851,7 @@ mail
|
||||
/*
|
||||
* This controls the minimum amount of time a user must wait before sending
|
||||
* another e-mail after they have sent one. It also controls the minimum time
|
||||
* an user must wait before they can receive another e-mail.
|
||||
* a user must wait before they can receive another e-mail.
|
||||
*
|
||||
* This feature prevents users from being mail bombed using Services and
|
||||
* it is highly recommended that it be used.
|
||||
@@ -1389,7 +1389,7 @@ botserv
|
||||
* The bots are currently not affected by any modes or bans when they try to join a channel.
|
||||
* But some people may want to make it act like a real bot, that is, for example, remove all
|
||||
* the bans affecting the bot before joining the channel, remove a ban that affects the bot
|
||||
* set by an user when it is in the channel, and so on. Since it consumes a bit more CPU
|
||||
* set by a user when it is in the channel, and so on. Since it consumes a bit more CPU
|
||||
* time, you should not enable this on larger networks.
|
||||
*
|
||||
* This directive is optional.
|
||||
|
||||
+4
-4
@@ -99,7 +99,7 @@ void botchanmsgs(User *u, ChannelInfo *ci, const Anope::string &buf)
|
||||
|
||||
/* Now we can make kicker stuff. We try to order the checks
|
||||
* from the fastest one to the slowest one, since there's
|
||||
* no need to process other kickers if an user is kicked before
|
||||
* no need to process other kickers if a user is kicked before
|
||||
* the last kicker check.
|
||||
*
|
||||
* But FIRST we check whether the user is protected in any
|
||||
@@ -373,7 +373,7 @@ BotInfo *findbot(const Anope::string &nick)
|
||||
|
||||
/*************************************************************************/
|
||||
|
||||
/* Returns ban data associated with an user if it exists, allocates it
|
||||
/* Returns ban data associated with a user if it exists, allocates it
|
||||
otherwise. */
|
||||
|
||||
static BanData *get_ban_data(Channel *c, User *u)
|
||||
@@ -415,7 +415,7 @@ static BanData *get_ban_data(Channel *c, User *u)
|
||||
|
||||
/*************************************************************************/
|
||||
|
||||
/* Returns BotServ data associated with an user on a given channel.
|
||||
/* Returns BotServ data associated with a user on a given channel.
|
||||
* Allocates it if necessary.
|
||||
*/
|
||||
|
||||
@@ -484,7 +484,7 @@ void check_ban(ChannelInfo *ci, User *u, int ttbtype)
|
||||
|
||||
/*************************************************************************/
|
||||
|
||||
/* This makes a bot kick an user. Works somewhat like notice_lang in fact ;) */
|
||||
/* This makes a bot kick a user. Works somewhat like notice_lang in fact ;) */
|
||||
|
||||
void bot_kick(ChannelInfo *ci, User *u, LanguageString message, ...)
|
||||
{
|
||||
|
||||
+1
-1
@@ -587,7 +587,7 @@ void update_cs_lastseen(User *user, ChannelInfo *ci)
|
||||
|
||||
/*************************************************************************/
|
||||
|
||||
/* Returns the best ban possible for an user depending of the bantype
|
||||
/* Returns the best ban possible for a user depending of the bantype
|
||||
value. */
|
||||
|
||||
int get_idealban(ChannelInfo *ci, User *u, Anope::string &ret)
|
||||
|
||||
+1
-1
@@ -66,7 +66,7 @@ NickAlias::~NickAlias()
|
||||
{
|
||||
FOREACH_MOD(I_OnDelNick, OnDelNick(this));
|
||||
|
||||
/* Second thing to do: look for an user using the alias
|
||||
/* Second thing to do: look for a user using the alias
|
||||
* being deleted, and make appropriate changes */
|
||||
User *u = finduser(this->nick);
|
||||
if (u && u->Account())
|
||||
|
||||
Reference in New Issue
Block a user