summaryrefslogtreecommitdiff
path: root/src/mode.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-03-07 11:12:56 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-03-07 11:12:56 +0000
commit412ffebede473d81df80a839e165dac386cbcdeb (patch)
tree7597b9977676559e47b8e72d9875ce4c9c9f98d7 /src/mode.cpp
parent143af37ff463f7d7ea392e6f3082d2078c21ef32 (diff)
Fixed to work properly with new refactoring
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3510 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/mode.cpp')
-rw-r--r--src/mode.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mode.cpp b/src/mode.cpp
index 176461ba5..18d8ba3f3 100644
--- a/src/mode.cpp
+++ b/src/mode.cpp
@@ -959,7 +959,7 @@ void ModeParser::ProcessModes(char **parameters,userrec* user,chanrec *chan,int
{
if (param < pcnt)
{
- chan->SetCustomModeParam(modelist[ptr],parameters[param],mdir);
+ chan->SetCustomModeParam(*modechar,parameters[param],mdir);
outpars[pc++] = parameters[param++];
}
}