summaryrefslogtreecommitdiff
path: root/src/helperfuncs.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/helperfuncs.cpp')
-rw-r--r--src/helperfuncs.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/helperfuncs.cpp b/src/helperfuncs.cpp
index 8562be443..9cf45889f 100644
--- a/src/helperfuncs.cpp
+++ b/src/helperfuncs.cpp
@@ -1200,7 +1200,7 @@ char* chanmodes(chanrec *chan, bool showkey)
}
for (int n = 0; n < 190; n++)
{
- if (custom_modes[n])
+ if (chan->custom_modes[n])
{
*offset++ = n+65;
std::string extparam = chan->GetModeParameter(n+65);