summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-03-12 15:20:52 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-03-12 15:20:52 +0000
commit1135a57ace24193f26ed3e679ca0945d97398988 (patch)
tree15be447f27e0777d9e193319bc0ad422332672c8
parentced58c3be3f1da8dcf70c3904e5fe4bdaabf0e3d (diff)
Fixed a missing reference to chanrec::modes
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3693 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r--src/helperfuncs.cpp2
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 = "";