From 39e872a70f67ab1792ec6425c5e28ba226255985 Mon Sep 17 00:00:00 2001 From: brain Date: Thu, 9 Mar 2006 14:28:04 +0000 Subject: Forgot to declare var git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3593 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_spanningtree.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules') diff --git a/src/modules/m_spanningtree.cpp b/src/modules/m_spanningtree.cpp index fc7ecb06e..177ef2123 100644 --- a/src/modules/m_spanningtree.cpp +++ b/src/modules/m_spanningtree.cpp @@ -1109,7 +1109,7 @@ class TreeSocket : public InspSocket clientlist[tempnick]->registered = 7; clientlist[tempnick]->signon = age; strlcpy(clientlist[tempnick]->modes, modes.c_str(),53); - for (*v = clientlist[tempnick]->modes; *v; v++) + for (char *v = clientlist[tempnick]->modes; *v; v++) { switch (*v) { -- cgit v1.2.3