summaryrefslogtreecommitdiff
path: root/modules/commands
diff options
context:
space:
mode:
Diffstat (limited to 'modules/commands')
-rw-r--r--modules/commands/bs_assign.cpp2
-rw-r--r--modules/commands/bs_kick.cpp4
-rw-r--r--modules/commands/bs_set.cpp2
-rw-r--r--modules/commands/cs_access.cpp2
-rw-r--r--modules/commands/cs_ban.cpp2
-rw-r--r--modules/commands/cs_flags.cpp2
-rw-r--r--modules/commands/cs_log.cpp2
-rw-r--r--modules/commands/cs_mode.cpp2
-rw-r--r--modules/commands/cs_xop.cpp4
-rw-r--r--modules/commands/ns_ajoin.cpp2
-rw-r--r--modules/commands/ns_cert.cpp2
-rw-r--r--modules/commands/os_dns.cpp4
-rw-r--r--modules/commands/os_info.cpp6
-rw-r--r--modules/commands/os_login.cpp4
-rw-r--r--modules/commands/os_sxline.cpp6
15 files changed, 23 insertions, 23 deletions
diff --git a/modules/commands/bs_assign.cpp b/modules/commands/bs_assign.cpp
index 63a2e659c..d26d612b1 100644
--- a/modules/commands/bs_assign.cpp
+++ b/modules/commands/bs_assign.cpp
@@ -46,7 +46,7 @@ class CommandBSAssign : public Command
}
AccessGroup access = source.AccessFor(ci);
- if (ci->HasExt("BS_NOBOT") || (!access.HasPriv("ASSIGN") && !source.HasPriv("botserv/administration")))
+ if (ci->HasExt("BS_NOBOT") || (!access.HasPriv("ASSIGN") && !source.HasPriv("botserv/administration")))
{
source.Reply(ACCESS_DENIED);
return;
diff --git a/modules/commands/bs_kick.cpp b/modules/commands/bs_kick.cpp
index dcd78c82d..43e30a9eb 100644
--- a/modules/commands/bs_kick.cpp
+++ b/modules/commands/bs_kick.cpp
@@ -718,7 +718,7 @@ class CommandBSKickRepeat : public CommandBSKickBase
class CommandBSKickReverses : public CommandBSKickBase
{
public:
- CommandBSKickReverses(Module *creator) : CommandBSKickBase(creator, "botserv/kick/reverses", 2, 3)
+ CommandBSKickReverses(Module *creator) : CommandBSKickBase(creator, "botserv/kick/reverses", 2, 3)
{
this->SetDesc(_("Configures reverses kicker"));
this->SetSyntax(_("\037channel\037 {\037ON|OFF\037} [\037ttb\037]"));
@@ -934,7 +934,7 @@ struct BanData
data_type data_map;
public:
- BanData(Extensible *) { }
+ BanData(Extensible *) { }
Data &get(const Anope::string &key)
{
diff --git a/modules/commands/bs_set.cpp b/modules/commands/bs_set.cpp
index 1bd8e289f..e4bc750c4 100644
--- a/modules/commands/bs_set.cpp
+++ b/modules/commands/bs_set.cpp
@@ -69,7 +69,7 @@ class CommandBSSet : public Command
class CommandBSSetBanExpire : public Command
{
public:
- class UnbanTimer : public Timer
+ class UnbanTimer : public Timer
{
Anope::string chname;
Anope::string mask;
diff --git a/modules/commands/cs_access.cpp b/modules/commands/cs_access.cpp
index 263b1917b..d2578130e 100644
--- a/modules/commands/cs_access.cpp
+++ b/modules/commands/cs_access.cpp
@@ -25,7 +25,7 @@ class AccessChanAccess : public ChanAccess
public:
int level;
- AccessChanAccess(AccessProvider *p) : ChanAccess(p), level(0)
+ AccessChanAccess(AccessProvider *p) : ChanAccess(p), level(0)
{
}
diff --git a/modules/commands/cs_ban.cpp b/modules/commands/cs_ban.cpp
index 6e83722c8..6f8abf4f5 100644
--- a/modules/commands/cs_ban.cpp
+++ b/modules/commands/cs_ban.cpp
@@ -16,7 +16,7 @@ static Module *me;
class TempBan : public Timer
{
private:
- Anope::string channel;
+ Anope::string channel;
Anope::string mask;
Anope::string mode;
diff --git a/modules/commands/cs_flags.cpp b/modules/commands/cs_flags.cpp
index 9ae6aeb56..c0910ec6f 100644
--- a/modules/commands/cs_flags.cpp
+++ b/modules/commands/cs_flags.cpp
@@ -18,7 +18,7 @@ class FlagsChanAccess : public ChanAccess
public:
std::set<char> flags;
- FlagsChanAccess(AccessProvider *p) : ChanAccess(p)
+ FlagsChanAccess(AccessProvider *p) : ChanAccess(p)
{
}
diff --git a/modules/commands/cs_log.cpp b/modules/commands/cs_log.cpp
index 655daa488..ee3cd484b 100644
--- a/modules/commands/cs_log.cpp
+++ b/modules/commands/cs_log.cpp
@@ -81,7 +81,7 @@ struct LogSettingsImpl : LogSettings
{
LogSettingsImpl(Extensible *) { }
- ~LogSettingsImpl()
+ ~LogSettingsImpl()
{
for (iterator it = (*this)->begin(); it != (*this)->end();)
{
diff --git a/modules/commands/cs_mode.cpp b/modules/commands/cs_mode.cpp
index a666f6c68..6df197a6c 100644
--- a/modules/commands/cs_mode.cpp
+++ b/modules/commands/cs_mode.cpp
@@ -879,7 +879,7 @@ class CommandCSModes : public Command
Log(override ? LOG_OVERRIDE : LOG_COMMAND, source, this, ci) << "on " << targ->nick;
}
- const Anope::string GetDesc(CommandSource &source) const anope_override
+ const Anope::string GetDesc(CommandSource &source) const anope_override
{
const std::pair<bool, Anope::string> &m = modes[source.command];
if (!m.second.empty())
diff --git a/modules/commands/cs_xop.cpp b/modules/commands/cs_xop.cpp
index e2e02aa7d..795b23e38 100644
--- a/modules/commands/cs_xop.cpp
+++ b/modules/commands/cs_xop.cpp
@@ -22,7 +22,7 @@ class XOPChanAccess : public ChanAccess
public:
Anope::string type;
- XOPChanAccess(AccessProvider *p) : ChanAccess(p)
+ XOPChanAccess(AccessProvider *p) : ChanAccess(p)
{
}
@@ -484,7 +484,7 @@ class CommandCSXOP : public Command
this->SetSyntax(_("\037channel\037 CLEAR"));
}
- const Anope::string GetDesc(CommandSource &source) const anope_override
+ const Anope::string GetDesc(CommandSource &source) const anope_override
{
return Anope::printf(Language::Translate(source.GetAccount(), _("Modify the list of %s users")), source.command.upper().c_str());
}
diff --git a/modules/commands/ns_ajoin.cpp b/modules/commands/ns_ajoin.cpp
index 1273d5a2e..0659b44ba 100644
--- a/modules/commands/ns_ajoin.cpp
+++ b/modules/commands/ns_ajoin.cpp
@@ -144,7 +144,7 @@ class CommandNSAJoin : public Command
else if (i != (*channels)->size())
alreadyadded += chan + ", ";
else if (IRCD->IsChannelValid(chan) == false)
- source.Reply(CHAN_X_INVALID, chan.c_str());
+ source.Reply(CHAN_X_INVALID, chan.c_str());
else
{
Channel *c = Channel::Find(chan);
diff --git a/modules/commands/ns_cert.cpp b/modules/commands/ns_cert.cpp
index 933bfffd0..1831c4a4a 100644
--- a/modules/commands/ns_cert.cpp
+++ b/modules/commands/ns_cert.cpp
@@ -33,7 +33,7 @@ struct NSCertListImpl : NSCertList
std::vector<Anope::string> certs;
public:
- NSCertListImpl(Extensible *obj) : nc(anope_dynamic_static_cast<NickCore *>(obj)) { }
+ NSCertListImpl(Extensible *obj) : nc(anope_dynamic_static_cast<NickCore *>(obj)) { }
~NSCertListImpl()
{
diff --git a/modules/commands/os_dns.cpp b/modules/commands/os_dns.cpp
index 84092a9d3..ab252bf69 100644
--- a/modules/commands/os_dns.cpp
+++ b/modules/commands/os_dns.cpp
@@ -91,12 +91,12 @@ class DNSServer : public Serializable
std::vector<Anope::string> ips;
unsigned limit;
/* wants to be in the pool */
- bool pooled;
+ bool pooled;
/* is actually in the pool */
bool active;
public:
- std::set<Anope::string, ci::less> zones;
+ std::set<Anope::string, ci::less> zones;
time_t repool;
DNSServer(const Anope::string &sn) : Serializable("DNSServer"), server_name(sn), limit(0), pooled(false), active(false), repool(0)
diff --git a/modules/commands/os_info.cpp b/modules/commands/os_info.cpp
index 53e54f1ab..bc1edff10 100644
--- a/modules/commands/os_info.cpp
+++ b/modules/commands/os_info.cpp
@@ -164,7 +164,7 @@ class CommandOSInfo : public Command
source.Reply(_("Added info to \002%s\002."), target.c_str());
Log(LOG_ADMIN, source, this) << "to add information to " << target;
- if (Anope::ReadOnly)
+ if (Anope::ReadOnly)
source.Reply(READ_ONLY_MODE);
}
else if (cmd.equals_ci("DEL"))
@@ -208,7 +208,7 @@ class CommandOSInfo : public Command
source.Reply(_("Deleted info from \002%s\002."), target.c_str());
Log(LOG_ADMIN, source, this) << "to remove information from " << target;
- if (Anope::ReadOnly)
+ if (Anope::ReadOnly)
source.Reply(READ_ONLY_MODE);
}
}
@@ -227,7 +227,7 @@ class CommandOSInfo : public Command
source.Reply(_("Cleared info from \002%s\002."), target.c_str());
Log(LOG_ADMIN, source, this) << "to clear information for " << target;
- if (Anope::ReadOnly)
+ if (Anope::ReadOnly)
source.Reply(READ_ONLY_MODE);
}
else
diff --git a/modules/commands/os_login.cpp b/modules/commands/os_login.cpp
index 2ace9ad28..9ec1d8e95 100644
--- a/modules/commands/os_login.cpp
+++ b/modules/commands/os_login.cpp
@@ -55,7 +55,7 @@ class CommandOSLogin : public Command
return true;
}
- const Anope::string GetDesc(CommandSource &source) const anope_override
+ const Anope::string GetDesc(CommandSource &source) const anope_override
{
return Anope::printf(Language::Translate(source.GetAccount(), _("Login to %s")), source.service->nick.c_str());
}
@@ -97,7 +97,7 @@ class CommandOSLogout : public Command
return true;
}
- const Anope::string GetDesc(CommandSource &source) const anope_override
+ const Anope::string GetDesc(CommandSource &source) const anope_override
{
return Anope::printf(Language::Translate(source.GetAccount(), _("Logout from %s")), source.service->nick.c_str());
}
diff --git a/modules/commands/os_sxline.cpp b/modules/commands/os_sxline.cpp
index 18a8ec286..b21febf9a 100644
--- a/modules/commands/os_sxline.cpp
+++ b/modules/commands/os_sxline.cpp
@@ -57,7 +57,7 @@ class SXLineDelCallback : public NumberList
class CommandOSSXLineBase : public Command
{
private:
- virtual XLineManager* xlm() = 0;
+ virtual XLineManager* xlm() = 0;
virtual void OnAdd(CommandSource &source, const std::vector<Anope::string> &params) = 0;
@@ -420,7 +420,7 @@ class CommandOSSNLine : public CommandOSSXLineBase
ServiceReference<XLineManager> snlines;
public:
- CommandOSSNLine(Module *creator) : CommandOSSXLineBase(creator, "operserv/snline"), snlines("XLineManager", "xlinemanager/snline")
+ CommandOSSNLine(Module *creator) : CommandOSSXLineBase(creator, "operserv/snline"), snlines("XLineManager", "xlinemanager/snline")
{
this->SetSyntax(_("ADD [+\037expiry\037] \037mask\037:\037reason\037"));
this->SetSyntax(_("DEL {\037mask\037 | \037entry-num\037 | \037list\037 | \037id\037}"));
@@ -652,7 +652,7 @@ class CommandOSSQLine : public CommandOSSXLineBase
source.Reply(READ_ONLY_MODE);
}
- ServiceReference<XLineManager> sqlines;
+ ServiceReference<XLineManager> sqlines;
public:
CommandOSSQLine(Module *creator) : CommandOSSXLineBase(creator, "operserv/sqline"), sqlines("XLineManager", "xlinemanager/sqline")
{