From f6fc729c7211ac6cc9fca4ef63a710b48ccf2457 Mon Sep 17 00:00:00 2001 From: brain Date: Sat, 8 Jul 2006 21:37:16 +0000 Subject: Did some renaming so that the methods for modes in chanrec and userrec are identical. bool IsModeSet(const unsigned char c); void SetMode(const unsigned char c, bool value); Fixed m_botmode for new api git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4194 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/channels.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/channels.cpp') diff --git a/src/channels.cpp b/src/channels.cpp index c4948c2e2..a25b2927c 100644 --- a/src/channels.cpp +++ b/src/channels.cpp @@ -57,17 +57,17 @@ chanrec::chanrec() memset(&modes,0,64); } -void chanrec::SetCustomMode(char mode,bool mode_on) +void chanrec::SetMode(char mode,bool mode_on) { modes[mode-65] = mode_on; if (!mode_on) - this->SetCustomModeParam(mode,"",false); + this->SetModeParam(mode,"",false); } -void chanrec::SetCustomModeParam(char mode,char* parameter,bool mode_on) +void chanrec::SetModeParam(char mode,char* parameter,bool mode_on) { - log(DEBUG,"SetCustomModeParam called"); + log(DEBUG,"SetModeParam called"); CustomModeList::iterator n = custom_mode_params.find(mode); -- cgit v1.3.1-10-gc9f91