diff --git a/modules/commands/cs_clone.cpp b/modules/commands/cs_clone.cpp index 5ede6a9e4..f9cbe12d6 100644 --- a/modules/commands/cs_clone.cpp +++ b/modules/commands/cs_clone.cpp @@ -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 */ diff --git a/modules/commands/cs_register.cpp b/modules/commands/cs_register.cpp index 117212519..41dfac063 100644 --- a/modules/commands/cs_register.cpp +++ b/modules/commands/cs_register.cpp @@ -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 */ diff --git a/modules/commands/cs_set_persist.cpp b/modules/commands/cs_set_persist.cpp index 3cc9564c4..d8c19d24c 100644 --- a/modules/commands/cs_set_persist.cpp +++ b/modules/commands/cs_set_persist.cpp @@ -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" diff --git a/modules/pseudoclients/bs_main.cpp b/modules/pseudoclients/bs_main.cpp index 69eab6040..56de249c5 100644 --- a/modules/pseudoclients/bs_main.cpp +++ b/modules/pseudoclients/bs_main.cpp @@ -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; diff --git a/src/channels.cpp b/src/channels.cpp index 17ed8a629..bc9aa0858 100644 --- a/src/channels.cpp +++ b/src/channels.cpp @@ -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 ¶m, 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);