summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2007-01-06 21:24:57 +0000
committerw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2007-01-06 21:24:57 +0000
commit95c54749e10802d8e81479aea5b1bc31d0af3b4d (patch)
treef16161362a795e9ee924b945a2d66cc1ccf3dcd6
parent7fe2038b85d188207ef4f306f0d8744e155eb4fd (diff)
Fix modecount on remote NICK
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6237 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r--src/modules/m_spanningtree.cpp2
1 files changed, 1 insertions, 1 deletions
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);
}