summaryrefslogtreecommitdiff
path: root/src/channels.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-05-09 17:51:22 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-05-09 17:51:22 +0000
commit40d674d14cff051207e2004211b9e4e7686bb524 (patch)
tree25f8eea23504946c4caa7b30b5a2530b119b880a /src/channels.cpp
parentd483a20dcb724d28777908c5da0505624729a840 (diff)
Fixes to way allocations are handled
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1346 e03df62e-2008-0410-955e-edbf42e46eb7
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()