* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
-/* $Id: channel.c,v 1.3 2005/01/14 07:50:01 mwiggins Exp $ */
+/* $Id: channel.c,v 1.4 2005/03/16 19:12:16 mwiggins Exp $ */
#include "struct.h"
#include "common.h"
if ((chptr->mode.mode & MODE_NOCOLOR) && msg_has_colors(msg))
return (ERR_NOCOLORSONCHAN);
#ifdef USE_SSL
- if ((chptr->mode.mode & MODE_SSL) && !IsSSL(cptr))
+ if ((chptr->mode.mode & MODE_SSL) && !IsUmodeS(cptr))
return (MODE_SSL);
#endif
if (MyClient(cptr) && is_banned(cptr, chptr, NULL))
if ((chptr->mode.mode & MODE_MODREG) && !IsRegNick(cptr))
return (ERR_NEEDREGGEDNICK);
#ifdef USE_SSL
- if ((chptr->mode.mode & MODE_SSL) && !IsSSL(cptr))
+ if ((chptr->mode.mode & MODE_SSL) && !IsUmodeS(cptr))
return (MODE_SSL);
#endif
}