]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_cloaking.cpp
Review and optimize
[user/henk/code/inspircd.git] / src / modules / m_cloaking.cpp
index 7bcfb0af273a86f541d385466bea8746e77db3a8..20d60ebef5f08f515be1aaf6e8241ab529e4f2f2 100644 (file)
@@ -256,7 +256,7 @@ class ModuleCloaking : public Module
                int i = 0;
                unsigned char bytes[16];
                char hash[MAXBUF];
-               strcpy(hash,"");
+               *hash = 0;
                MyMD5((char*)bytes,src,strlen(src));
                for (i = 0; i < 16; i++)
                {