From 40d674d14cff051207e2004211b9e4e7686bb524 Mon Sep 17 00:00:00 2001 From: brain Date: Mon, 9 May 2005 17:51:22 +0000 Subject: Fixes to way allocations are handled git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1346 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/channels.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/channels.cpp') 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() -- cgit v1.3.1-10-gc9f91