1
0
mirror of https://github.com/anope/anope.git synced 2026-07-07 04:43:13 +02:00

sed'd a few typos

This commit is contained in:
Adam
2011-08-06 18:05:16 -04:00
parent a6dd65f916
commit deb79e830d
5 changed files with 11 additions and 11 deletions
+1 -1
View File
@@ -85,7 +85,7 @@ public:
target_ci->c->RemoveMode(NULL, cm, u->nick);
}
/* Mark the channel as persistant */
/* Mark the channel as persistent */
if (target_ci->c->HasMode(CMODE_PERM))
target_ci->SetFlag(CI_PERSIST);
/* Persist may be in def cflags, set it here */
+1 -1
View File
@@ -82,7 +82,7 @@ class CommandCSRegister : public Command
c->RemoveMode(NULL, cm, u->nick);
}
/* Mark the channel as persistant */
/* Mark the channel as persistent */
if (c->HasMode(CMODE_PERM))
ci->SetFlag(CI_PERSIST);
/* Persist may be in def cflags, set it here */
+6 -6
View File
@@ -83,7 +83,7 @@ class CommandCSSetPersist : public Command
}
}
source.Reply(_("Channel \002%s\002 is now persistant."), ci->name.c_str());
source.Reply(_("Channel \002%s\002 is now persistent."), ci->name.c_str());
}
else if (params[1].equals_ci("OFF"))
{
@@ -118,7 +118,7 @@ class CommandCSSetPersist : public Command
}
}
source.Reply(_("Channel \002%s\002 is no longer persistant."), ci->name.c_str());
source.Reply(_("Channel \002%s\002 is no longer persistent."), ci->name.c_str());
}
else
this->OnSyntaxError(source, "PERSIST");
@@ -130,11 +130,11 @@ class CommandCSSetPersist : public Command
{
this->SendSyntax(source);
source.Reply(" ");
source.Reply(_("Enables or disables the persistant channel setting.\n"
"When persistant is set, the service bot will remain\n"
source.Reply(_("Enables or disables the persistent channel setting.\n"
"When persistent is set, the service bot will remain\n"
"in the channel when it has emptied of users.\n"
" \n"
"If your IRCd does not a permanent (persistant) channel\n"
"If your IRCd does not a permanent (persistent) channel\n"
"mode you must have a service bot in your channel to\n"
"set persist on, and it can not be unassigned while persist\n"
"is on.\n"
@@ -144,7 +144,7 @@ class CommandCSSetPersist : public Command
"join your channel when you set persist on (and leave when\n"
"it has been set off).\n"
" \n"
"If your IRCd has a permanent (persistant) channel mode\n"
"If your IRCd has a permanent (persistent) channel mode\n"
"and is is set or unset (for any reason, including MLOCK),\n"
"persist is automatically set and unset for the channel aswell.\n"
"Additionally, services will set or unset this mode when you\n"
+1 -1
View File
@@ -135,7 +135,7 @@ class BotServCore : public Module
void OnLeaveChannel(User *u, Channel *c)
{
/* Channel is persistant, it shouldn't be deleted and the service bot should stay */
/* Channel is persistent, it shouldn't be deleted and the service bot should stay */
if (c->HasFlag(CH_PERSIST) || (c->ci && c->ci->HasFlag(CI_PERSIST)))
return;
+2 -2
View File
@@ -157,7 +157,7 @@ void Channel::DeleteUser(User *user)
user->chans.erase(uit);
}
/* Channel is persistant, it shouldn't be deleted and the service bot should stay */
/* Channel is persistent, it shouldn't be deleted and the service bot should stay */
if (this->HasFlag(CH_PERSIST) || (this->ci && this->ci->HasFlag(CI_PERSIST)))
return;
@@ -309,7 +309,7 @@ void Channel::SetModeInternal(ChannelMode *cm, const Anope::string &param, bool
cml->OnAdd(this, param);
}
/* Channel mode +P or so was set, mark this channel as persistant */
/* Channel mode +P or so was set, mark this channel as persistent */
if (cm->Name == CMODE_PERM)
{
this->SetFlag(CH_PERSIST);