X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fmodules%2Fm_hash.h;h=88dcb5b6d5fa93872b1288044b0dd4746ea30871;hb=819147178db00008a215670992d0f532dd57f9e5;hp=6351cf04f13c028f759399cccce8ac8a4f8cfab6;hpb=5db1d322be106c8462dc691072f9415dc0766ed4;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/src/modules/m_hash.h b/src/modules/m_hash.h index 6351cf04f..88dcb5b6d 100644 --- a/src/modules/m_hash.h +++ b/src/modules/m_hash.h @@ -2,8 +2,8 @@ * | Inspire Internet Relay Chat Daemon | * +------------------------------------+ * - * InspIRCd: (C) 2002-2008 InspIRCd Development Team - * See: http://www.inspircd.org/wiki/index.php/Credits + * InspIRCd: (C) 2002-2009 InspIRCd Development Team + * See: http://wiki.inspircd.org/Credits * * This program is free but copyrighted software; see * the file COPYING for details. @@ -54,9 +54,9 @@ class HashRequest : public Request } /** Get data to be hashed */ - const char* GetHashData() + std::string& GetHashData() { - return tohash.c_str(); + return tohash; } /** Get keys (IVs) to be used */