1
0
mirror of https://github.com/anope/anope.git synced 2026-06-30 02:16:37 +02:00

Fix/clean/clarify some stuff found by coverity scan

This commit is contained in:
Adam
2013-11-23 22:12:33 -05:00
parent 77e5744341
commit 90aa576fb3
6 changed files with 18 additions and 11 deletions
+1 -1
View File
@@ -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());