From 95c54749e10802d8e81479aea5b1bc31d0af3b4d Mon Sep 17 00:00:00 2001 From: w00t Date: Sat, 6 Jan 2007 21:24:57 +0000 Subject: Fix modecount on remote NICK git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6237 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_spanningtree.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/modules/m_spanningtree.cpp b/src/modules/m_spanningtree.cpp index e960948ac..0bf0289ad 100644 --- a/src/modules/m_spanningtree.cpp +++ b/src/modules/m_spanningtree.cpp @@ -1904,7 +1904,7 @@ class TreeSocket : public InspSocket { _new->modes[(*v)-65] = 1; /* For each mode thats set, increase counter */ - ModeHandler* mh = Instance->Modes->FindMode((*v)-65, MODETYPE_USER); + ModeHandler* mh = Instance->Modes->FindMode(*v, MODETYPE_USER); if (mh) mh->ChangeCount(1); } -- cgit v1.2.3