summaryrefslogtreecommitdiff
path: root/src/helperfuncs.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-06-09 12:10:12 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-06-09 12:10:12 +0000
commit0161215f42ccbfe45d1aef626f830d39486ef699 (patch)
tree93736dbf74c0e87e31e9d7ed49f2049b01b9ac4e /src/helperfuncs.cpp
parent3936814ac6919c7c2dca75fac737a46c30510603 (diff)
Change some = "" to clear() and some == "" to .empty()
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7263 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/helperfuncs.cpp')
-rw-r--r--src/helperfuncs.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/helperfuncs.cpp b/src/helperfuncs.cpp
index 5aeabfd8b..f5d9aa5d9 100644
--- a/src/helperfuncs.cpp
+++ b/src/helperfuncs.cpp
@@ -81,7 +81,7 @@ std::string InspIRCd::GetServerDescription(const char* servername)
FOREACH_MOD_I(this,I_OnGetServerDescription,OnGetServerDescription(servername,description));
- if (description != "")
+ if (!description.empty())
{
return description;
}
@@ -435,7 +435,7 @@ void InspIRCd::OpenLog(char** argv, int argc)
if (!*this->LogFileName)
{
- if (Config->logpath == "")
+ if (Config->logpath.empty())
{
Config->logpath = Config->MyDir + "/ircd.log";
}