summaryrefslogtreecommitdiff
path: root/src/bots.cpp
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2013-11-23 22:12:33 -0500
committerAdam <Adam@anope.org>2013-11-23 22:12:33 -0500
commit90aa576fb3c1ceae434c2a7b794f13941c80b7b3 (patch)
tree938d944e802f73c2ac1c33802f8cd508fd1a17ef /src/bots.cpp
parent77e57443416fc12f77a1bcf23a7f0341b8d12f9f (diff)
Fix/clean/clarify some stuff found by coverity scan
Diffstat (limited to 'src/bots.cpp')
-rw-r--r--src/bots.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bots.cpp b/src/bots.cpp
index ddffe53fe..bf5d653b6 100644
--- a/src/bots.cpp
+++ b/src/bots.cpp
@@ -36,7 +36,7 @@ BotInfo::BotInfo(const Anope::string &nnick, const Anope::string &nuser, const A
// If we're synchronised with the uplink already, send the bot.
if (Me && Me->IsSynced())
{
- Anope::string tmodes = !this->botmodes.empty() ? ("+" + this->botmodes) : (IRCD ? IRCD->DefaultPseudoclientModes : "");
+ Anope::string tmodes = !this->botmodes.empty() ? ("+" + this->botmodes) : IRCD->DefaultPseudoclientModes;
if (!tmodes.empty())
this->SetModesInternal(this, tmodes.c_str());