|
-
+
-
+
|
@@ -347,31 +349,87 @@ References EMode, and <
+
+Definition at line 82 of file modules.cpp.
+
+References EMode, and ExtModeListIter.
+
+ 00083 {
+00084 for (ExtModeListIter i = EMode.begin(); i < EMode.end(); i++)
+00085 {
+00086 if ((i->modechar == modechar) && (i->type == type))
+00087 {
+00088 return i->params_when_on;
+00089 }
+00090 }
+00091 return 0;
+00092 }
+ |
+
+
+
+
+
+
+
+
+ | bool ModeDefinedOper |
+ ( |
+ char |
+ modechar, |
+
+
+ |
+ |
+ int |
+ type |
+
+
+ |
+ ) |
+ |
+
+
+
+ |
+
+
+
+
+ |
+
+ |
+
+
+
+
Definition at line 67 of file modules.cpp.
-References EMode, and ExtModeListIter.
+References EMode, and ExtModeListIter.
00068 {
-00069 for (ExtModeListIter i = EMode.begin(); i < EMode.end(); i++)
-00070 {
-00071 if ((i->modechar == modechar) && (i->type == type))
-00072 {
-00073 return i->params_when_on;
-00074 }
-00075 }
-00076 return 0;
-00077 }
+00069 log(DEBUG,"Size of extmodes vector is %d",EMode.size());
+00070 for (ExtModeListIter i = EMode.begin(); i < EMode.end(); i++)
+00071 {
+00072 log(DEBUG,"i->modechar==%c, modechar=%c, i->type=%d, type=%d",i->modechar,modechar,i->type,type);
+00073 if ((i->modechar == modechar) && (i->type == type) && (i->needsoper == true))
+00074 {
+00075 return true;
+00076 }
+00077 }
+00078 return false;
+00079 }
|
-
+
- | bool ModeDefinedOper |
+ bool ModeIsListMode |
( |
char |
modechar, |
@@ -402,26 +460,74 @@ References EMode, and <
-Definition at line 52 of file modules.cpp.
+Definition at line 53 of file modules.cpp.
+
+References EMode, and ExtModeListIter.
+
+ 00054 {
+00055 log(DEBUG,"Size of extmodes vector is %d",EMode.size());
+00056 for (ExtModeListIter i = EMode.begin(); i < EMode.end(); i++)
+00057 {
+00058 log(DEBUG,"i->modechar==%c, modechar=%c, i->type=%d, type=%d",i->modechar,modechar,i->type,type);
+00059 if ((i->modechar == modechar) && (i->type == type) && (i->list == true))
+00060 {
+00061 return true;
+00062 }
+00063 }
+00064 return false;
+00065 }
+
+
+
+
+
+
+
+
+
+ | void ModeMakeList |
+ ( |
+ char |
+ modechar |
+ ) |
+ |
+
+
+
+ |
+
+
+
+
+ |
+
+ |
+
+
+
+
+
+Definition at line 118 of file modules.cpp.
+
+References EMode, ExtModeListIter, and MT_CHANNEL.
-References EMode, and ExtModeListIter.
+Referenced by Server::AddExtendedListMode().
- 00053 {
-00054 log(DEBUG,"Size of extmodes vector is %d",EMode.size());
-00055 for (ExtModeListIter i = EMode.begin(); i < EMode.end(); i++)
-00056 {
-00057 log(DEBUG,"i->modechar==%c, modechar=%c, i->type=%d, type=%d",i->modechar,modechar,i->type,type);
-00058 if ((i->modechar == modechar) && (i->type == type) && (i->needsoper == true))
-00059 {
-00060 return true;
-00061 }
-00062 }
-00063 return false;
-00064 }
+00119 {
+00120 for (ExtModeListIter i = EMode.begin(); i < EMode.end(); i++)
+00121 {
+00122 if ((i->modechar == modechar) && (i->type == MT_CHANNEL))
+00123 {
+00124 i->list = true;
+00125 return;
+00126 }
+00127 }
+00128 return;
+00129 }
|
-
+
|
@@ -472,9 +578,9 @@ References EMode, and <
-Definition at line 35 of file modules.cpp.
+Definition at line 36 of file modules.cpp.
-Referenced by DoAddExtendedMode(), ModeDefined(), ModeDefinedOff(), ModeDefinedOn(), and ModeDefinedOper(). |
+Referenced by DoAddExtendedMode(), ModeDefined(), ModeDefinedOff(), ModeDefinedOn(), ModeDefinedOper(), ModeIsListMode(), and ModeMakeList().
@@ -498,10 +604,10 @@ Referenced by DoAddExtended
-Definition at line 442 of file modules.cpp. |
+Definition at line 484 of file modules.cpp.
- Generated on Fri Apr 30 15:46:28 2004 for InspIRCd by
+ Generated on Sat May 1 13:39:06 2004 for InspIRCd by
1.3-rc3
--
cgit v1.3.1-10-gc9f91
|