]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_spanningtree/main.cpp
Added ability to send and receive a challenge, dont do anything with it yet
[user/henk/code/inspircd.git] / src / modules / m_spanningtree / main.cpp
index 97da561b6a5c17e0083f64f0d9b227798197a247..9205077cf8e6ef6a9f147af97c8896eb4334213e 100644 (file)
@@ -184,6 +184,9 @@ void ModuleSpanningTree::ShowMap(TreeServer* Current, userrec* user, int depth,
                }
                float percent;
                char text[128];
+               /* Neat and tidy default values, as we're dealing with a matrix not a simple string */
+               memset(text, 0, 128);
+
                if (ServerInstance->clientlist->size() == 0) {
                        // If there are no users, WHO THE HELL DID THE /MAP?!?!?!
                        percent = 0;