From 1135a57ace24193f26ed3e679ca0945d97398988 Mon Sep 17 00:00:00 2001
From: brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>
Date: Sun, 12 Mar 2006 15:20:52 +0000
Subject: Fixed a missing reference to chanrec::modes

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3693 e03df62e-2008-0410-955e-edbf42e46eb7
---
 src/helperfuncs.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'src')

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 = "";
-- 
cgit v1.2.3