summaryrefslogtreecommitdiff
path: root/src/channels.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/channels.cpp')
-rw-r--r--src/channels.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/channels.cpp b/src/channels.cpp
index 0a6cdfdbb..6d6c15f13 100644
--- a/src/channels.cpp
+++ b/src/channels.cpp
@@ -192,11 +192,11 @@ std::string chanrec::GetModeParameter(char mode)
{
if ((i->mode == mode) && (!strcasecmp(this->name,i->channel)))
{
- return std::string(i->parameter);
+ return i->parameter;
}
}
}
- return std::string("");
+ return "";
}
void chanrec::IncUserCounter()