diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/helperfuncs.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/helperfuncs.cpp b/src/helperfuncs.cpp index 31a87fd70..c910e0f2b 100644 --- a/src/helperfuncs.cpp +++ b/src/helperfuncs.cpp @@ -1275,7 +1275,7 @@ char* chanmodes(chanrec *chan, bool showkey) /* This was still iterating up to 190, chanrec::custom_modes is only 64 elements -- Om */ for(int n = 0; n < 64; n++) { - if(chan->custom_modes[n]) + if(chan->modes[n]) { *offset++ = n+65; extparam = ""; |