From e53c7aa50c815761f84e0ba3a28c0e6e58dc025f Mon Sep 17 00:00:00 2001 From: brain Date: Sat, 1 May 2004 12:43:49 +0000 Subject: Added Module::OnAccessCheck Added ListMode support git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@758 e03df62e-2008-0410-955e-edbf42e46eb7 --- docs/module-doc/classuserrec.html | 68 ++++++++++++++++++--------------------- 1 file changed, 32 insertions(+), 36 deletions(-) (limited to 'docs/module-doc/classuserrec.html') diff --git a/docs/module-doc/classuserrec.html b/docs/module-doc/classuserrec.html index 023abf77f..5a12bb755 100644 --- a/docs/module-doc/classuserrec.html +++ b/docs/module-doc/classuserrec.html @@ -298,41 +298,37 @@ Definition at line 97 of 00114 log(DEBUG,"*** HasPermission: %s is an oper of type '%s'",this->nick,this->oper); 00115 ConfValue("type","classes",j,Classes,&config_f); 00116 char* myclass = strtok_r(Classes," ",&savept); -00117 //myclass = savept; -00118 while (myclass) -00119 { -00120 log(DEBUG,"*** HasPermission: checking classtype '%s'",myclass); -00121 for (int k =0; k < ConfValueEnum("class",&config_f); k++) -00122 { -00123 ConfValue("class","name",k,ClassName,&config_f); -00124 if (!strcmp(ClassName,myclass)) -00125 { -00126 ConfValue("class","commands",k,CommandList,&config_f); -00127 log(DEBUG,"*** HasPermission: found class named %s with commands: '%s'",ClassName,CommandList); +00117 while (myclass) +00118 { +00119 log(DEBUG,"*** HasPermission: checking classtype '%s'",myclass); +00120 for (int k =0; k < ConfValueEnum("class",&config_f); k++) +00121 { +00122 ConfValue("class","name",k,ClassName,&config_f); +00123 if (!strcmp(ClassName,myclass)) +00124 { +00125 ConfValue("class","commands",k,CommandList,&config_f); +00126 log(DEBUG,"*** HasPermission: found class named %s with commands: '%s'",ClassName,CommandList); +00127 00128 -00129 -00130 mycmd = strtok_r(CommandList," ",&savept2); -00131 //mycmd = savept2; -00132 while (mycmd) -00133 { -00134 if (!strcasecmp(mycmd,command)) -00135 { -00136 log(DEBUG,"*** Command %s found, returning true",command); -00137 return true; -00138 } -00139 mycmd = strtok_r(NULL," ",&savept2); -00140 //mycmd = savept2; -00141 } -00142 } -00143 } -00144 myclass = strtok_r(NULL," ",&savept); -00145 //myclass = savept; -00146 } -00147 } -00148 } -00149 } -00150 return false; -00151 } +00129 mycmd = strtok_r(CommandList," ",&savept2); +00130 while (mycmd) +00131 { +00132 if (!strcasecmp(mycmd,command)) +00133 { +00134 log(DEBUG,"*** Command %s found, returning true",command); +00135 return true; +00136 } +00137 mycmd = strtok_r(NULL," ",&savept2); +00138 } +00139 } +00140 } +00141 myclass = strtok_r(NULL," ",&savept); +00142 } +00143 } +00144 } +00145 } +00146 return false; +00147 } @@ -722,7 +718,7 @@ An invalid nickname indicates an unregistered connection prior to the NICK comma

Definition at line 91 of file users.h.

-Referenced by Server::QuitUser(). +Referenced by Server::QuitUser().

@@ -835,7 +831,7 @@ Referenced by userrec().


The documentation for this class was generated from the following files: -
Generated on Fri Apr 30 15:46:49 2004 for InspIRCd by +
Generated on Sat May 1 13:39:27 2004 for InspIRCd by doxygen1.3-rc3
-- cgit v1.2.3