[SithNet-Patches] [CVS] Module gnuworld-sithnet: Change committed
Brought to you by:
darthsidious_
From: Tim I. <dar...@us...> - 2003-08-20 17:35:28
|
Committer : Tim Ireland <dar...@us...> CVSROOT : /cvsroot/sithnet-dev Module : gnuworld-sithnet Commit time: 2003-08-20 15:33:14 UTC Modified files: mod.cservice/cservice.cc mod.cservice/cservice.h mod.cservice/cservice_config.h mod.cservice/VERIFYCommand.cc mod.cservice/levels.h mod.cservice/responses.h Log message: Added a few config options related to VERIFYCommand, read changelog.sithnet for info ---------------------- diff included ---------------------- Index: gnuworld-sithnet/mod.cservice/VERIFYCommand.cc diff -u gnuworld-sithnet/mod.cservice/VERIFYCommand.cc:1.1.1.1 gnuworld-sithnet/mod.cservice/VERIFYCommand.cc:1.2 --- gnuworld-sithnet/mod.cservice/VERIFYCommand.cc:1.1.1.1 Mon Aug 18 13:31:04 2003 +++ gnuworld-sithnet/mod.cservice/VERIFYCommand.cc Wed Aug 20 08:33:03 2003 @@ -16,7 +16,7 @@ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, * USA. * - * $Id: VERIFYCommand.cc,v 1.1.1.1 2003/08/18 20:31:04 darthsidious_ Exp $ + * $Id: VERIFYCommand.cc,v 1.2 2003/08/20 15:33:03 darthsidious_ Exp $ */ #include <string> @@ -27,7 +27,7 @@ #include "levels.h" #include "responses.h" -const char VERIFYCommand_cc_rcsId[] = "$Id: VERIFYCommand.cc,v 1.1.1.1 2003/08/18 20:31:04 darthsidious_ Exp $" ; +const char VERIFYCommand_cc_rcsId[] = "$Id: VERIFYCommand.cc,v 1.2 2003/08/20 15:33:03 darthsidious_ Exp $" ; namespace gnuworld { @@ -62,8 +62,8 @@ bot->Notice(theClient, bot->getResponse(tmpUser, language::is_service_bot, - string("%s is an Official Undernet Service Bot.")).c_str(), - target->getNickName().c_str()); + string("%s is an Official SithNET Service's Client.")).c_str(), + target->getNickName().c_str()); return false; } @@ -76,7 +76,7 @@ if (target->isOper()) { extra = bot->getResponse(tmpUser, - language::is_also_an_ircop, " and an IRC operator"); + language::is_also_an_ircop, " and an IRC Operator"); } if (!theUser) @@ -86,7 +86,7 @@ bot->Notice(theClient, bot->getResponse(tmpUser, language::is_an_ircop, - string("%s is an IRC operator")).c_str(), + string("%s is an IRC Operator")).c_str(), target->getNickUserHost().c_str()); } else @@ -100,23 +100,12 @@ return false; } -sqlChannel* theChan = bot->getChannelRecord(bot->coderChan); -if (!theChan) - { - return true; - } +int aLevel = bot->getAdminAccessLevel(theUser); +int cLevel = bot->getCoderAccessLevel(theUser); +int oLevel = bot->getOfficialAccessLevel(theUser); +int fLevel = bot->getFedsAccessLevel(theUser); -// TODO: Move all the levels to constants in levels.h - -int level = bot->getAdminAccessLevel(theUser); -int cLevel; -if (!theChan) - cLevel = 0; -else - cLevel = bot->getEffectiveAccessLevel(theUser, theChan, false); - -cLevel = 0; -if ( (0 == level) && (0 == cLevel) ) +if ( (0 == aLevel) && (0 == cLevel) && (0 == oLevel) && (0 == fLevel) ) { bot->Notice(theClient, bot->getResponse(tmpUser, @@ -128,7 +117,7 @@ return false; } -if ((level >= level::admin::base) && (level <= level::admin::helper)) +if ((aLevel >= level::admin::helper) && (aLevel < level::admin::tadmin)) { bot->Notice(theClient, bot->getResponse(tmpUser, @@ -140,81 +129,295 @@ return true; } -if ((level > level::admin::helper) && (level <= level::admin::admin)) +if ((aLevel > level::admin::tadmin) && (aLevel < level::admin::jadmin)) + { + bot->Notice(theClient, + bot->getResponse(tmpUser, + language::is_cservice_tadmin, + string("%s is an Official CService Trainee Administrator%s and logged in as %s")).c_str(), + target->getNickUserHost().c_str(), + extra.c_str(), + theUser->getUserName().c_str()); + return true; + } + +if ((aLevel > level::admin::jadmin) && (aLevel < level::admin::admin)) + { + bot->Notice(theClient, + bot->getResponse(tmpUser, + language::is_cservice_jadmin, + string("%s is an Official CService Junior Administrator%s and logged in as %s")).c_str(), + target->getNickUserHost().c_str(), + extra.c_str(), + theUser->getUserName().c_str()); + return true; + } + +if ((aLevel >= level::admin::admin) && (aLevel < level::admin::supervisor)) { bot->Notice(theClient, bot->getResponse(tmpUser, language::is_cservice_admin, - string("%s is an Official CService Administrator%s and logged in as %s")).c_str(), + string("%s is an Official CService Senior Administrator%s and logged in as %s")).c_str(), target->getNickUserHost().c_str(), extra.c_str(), theUser->getUserName().c_str()); return true; } -if ((level > level::admin::admin) && (level <= level::admin::coder)) +if ((aLevel > level::admin::supervisor) && (aLevel < level::admin::officer)) { bot->Notice(theClient, bot->getResponse(tmpUser, - language::is_cservice_dev, - string("%s is an Official CService Developer%s and logged in as %s")).c_str(), + language::is_cservice_sup, + string("%s is an Official CService Supervisor%s and logged in as %s")).c_str(), target->getNickUserHost().c_str(), extra.c_str(), theUser->getUserName().c_str()); return true; } -/* -if ((cLevel >= level::coder::base) && (cLevel <= level::coder::contrib)) +if ((aLevel > level::admin::officer) && (aLevel < level::admin::coman)) { bot->Notice(theClient, bot->getResponse(tmpUser, - language::is_coder_rep, - string("%s is an Official Coder-Com Representative%s and logged in as %s")).c_str(), + language::is_cservice_officer, + string("%s is the Official CService Abuse Administrator%s and logged in as %s")).c_str(), + target->getNickUserHost().c_str(), + extra.c_str(), + theUser->getUserName().c_str()); + return true; + } + +if ((aLevel >= level::admin::coman) && (aLevel < level::admin::csmgr)) + { + bot->Notice(theClient, + bot->getResponse(tmpUser, + language::is_cservice_co, + string("%s is the Official CService Co-Manager%s and logged in as %s")).c_str(), target->getNickUserHost().c_str(), extra.c_str(), theUser->getUserName().c_str()); return true; } -if ((cLevel > level::coder::base) && (cLevel <= level::coder::contrib)) +if ((aLevel > level::admin::csmgr) && (aLevel < level::admin::director)) + { + bot->Notice(theClient, + bot->getResponse(tmpUser, + language::is_cservice_mgr, + string("%s is an Official CService Manager%s and logged in as %s")).c_str(), + target->getNickUserHost().c_str(), + extra.c_str(), + theUser->getUserName().c_str()); + return true; + } + +if ((aLevel > level::admin::director) && (aLevel < level::admin::scoder)) + { + bot->Notice(theClient, + bot->getResponse(tmpUser, + language::is_cservice_director, + string("%s is the Official CService Director%s and logged in as %s")).c_str(), + target->getNickUserHost().c_str(), + extra.c_str(), + theUser->getUserName().c_str()); + return true; + } + +if ((aLevel >= level::admin::scoder) && (aLevel < level::admin::manager)) + { + bot->Notice(theClient, + bot->getResponse(tmpUser, + language::is_cservice_coder, + string("%s is an Official CService Senior Coder%s and logged in as %s")).c_str(), + target->getNickUserHost().c_str(), + extra.c_str(), + theUser->getUserName().c_str()); + return true; + } + +if (aLevel == level::admin::coord) + { + bot->Notice(theClient, + bot->getResponse(tmpUser, + language::is_cservice_coord, + string("%s is the Official Channel Services Committee Coordinator%s and logged in as %s")).c_str(), + target->getNickUserHost().c_str(), + extra.c_str(), + theUser->getUserName().c_str()); + return true; + } + + + } +if ((cLevel >= level::coder::base) && (cLevel < level::coder::contrib)) + { + bot->Notice(theClient, + bot->getResponse(tmpUser, + language::is_coder_rep, + string("%s is an Official SithNet Coder-com Representative%s and logged in as %s")).c_str(), + target->getNickUserHost().c_str(), + extra.c_str(), + theUser->getUserName().c_str()); + return true; + } + +if ((cLevel >= level::coder::contrib) && (cLevel < level::coder::devel)) { bot->Notice(theClient, bot->getResponse(tmpUser, language::is_coder_contrib, - string("%s is an Official Coder-Com Contributer%s and logged in as %s")).c_str(), + string("%s is an Official SithNet Coder-com Contributer%s and logged in as %s")).c_str(), target->getNickUserHost().c_str(), extra.c_str(), theUser->getUserName().c_str()); return true; } -if ((cLevel > level::coder::contrib) && (cLevel <= level::coder::devel)) +if ((cLevel >= level::coder::devel) && (cLevel < level::coder::senior)) { bot->Notice(theClient, bot->getResponse(tmpUser, language::is_coder_devel, - string("%s is an Official Coder-Com Developer%s and logged in as %s")).c_str(), + string("%s is an Official SithNet Coder-com Developer%s and logged in as %s")).c_str(), target->getNickUserHost().c_str(), extra.c_str(), theUser->getUserName().c_str()); return true; } -if (cLevel > level::coder::devel) +if (cLevel >= level::coder::senior) { bot->Notice(theClient, bot->getResponse(tmpUser, language::is_coder_senior, - string("%s is an Official Coder-Com Senior%s and logged in as %s")).c_str(), + string("%s is an Official SithNet Coder-com Senior%s and logged in as %s")).c_str(), target->getNickUserHost().c_str(), extra.c_str(), theUser->getUserName().c_str()); return true; } -*/ -return true ; +if (oLevel == level::official::bot) + { + bot->Notice(theClient, "%s is an Official SithNet Bot%s and logged in as %s", + target->getNickUserHost().c_str(), + extra.c_str(), + theUser->getUserName().c_str()); + return true; + } + +if (oLevel == level::official::helper) + { + bot->Notice(theClient, "%s is an Official SithNet Helper%s and logged in as %s", + target->getNickUserHost().c_str(), + extra.c_str(), + theUser->getUserName().c_str()); + return true; + } + +if (oLevel == level::official::somehow) + { + bot->Notice(theClient, "%s is Somehow Official%s and logged in as %s", + target->getNickUserHost().c_str(), + extra.c_str(), + theUser->getUserName().c_str()); + return true; + } + +if (oLevel = level::official::scoder) + { + bot->Notice(theClient, "%s is an Official SithNet Senior Coder%s and logged in as %s", + target->getNickUserHost().c_str(), + extra.c_str(), + theUser->getUserName().c_str()); + return true; + } + +if (oLevel == level::official::admin) + { + bot->Notice(theClient, "%s is an Official IRC Administrator%s and logged in as %s", + target->getNickUserHost().c_str(), + extra.c_str(), + theUser->getUserName().c_str()); + return true; + } + +if (oLevel == level::official::senior) + { + bot->Notice(theClient, "%s is an Official Senior IRC Administrator%s and logged in as %s", + target->getNickUserHost().c_str(), + extra.c_str(), + theUser->getUserName().c_str()); + return true; + } + +if (oLevel == level::official::founder) + { + bot->Notice(theClient, "%s is the Official SithNet Network Administrator%s and logged in as %s", + target->getNickUserHost().c_str(), + extra.c_str(), + theUser->getUserName().c_str()); + return true; + } + +if (fLevel == level::feds::helper) + { + bot->Notice(theClient, "%s is an Official SithNet Fed's Helper%s and logged in as %s", + target->getNickUserHost().c_str(), + extra.c_str(), + theUser->getUserName().c_str()); + return true; + } + +if (fLevel == level::feds::supervisor) + { + bot->Notice(theClient, "%s is the Official SithNet Fed's Supervisor%s and logged in as %s", + target->getNickUserHost().c_str(), + extra.c_str(), + theUser->getUserName().c_str()); + return true; + } + +if (fLevel == level::feds::administrator) + { + bot->Notice(theClient, "%s is an Official SithNet IRC Administrator%s and logged in as %s", + target->getNickUserHost().c_str(), + extra.c_str(), + theUser->getUserName().c_str()); + return true; + } + +if (fLevel == level::feds::servadmin) + { + bot->Notice(theClient, "%s is an Official SithNet IRC Server Administrator%s and logged in as %s", + target->getNickUserHost().c_str(), + extra.c_str(), + theUser->getUserName().c_str()); + return true; + } + +if (fLevel == level::feds::mananger) + { + bot->Notice(theClient, "%s is the Official SithNet Oper-com Coordinator%s and logged in as %s", + target->getNickUserHost().c_str(), + extra.c_str(), + theUser->getUserName().c_str()); + return true; + } + +if (((aLevel == level::admin::coord) && (oLevel == level::official::founder) && (fLevel == level::feds::manager) + { + bot->Notice(theClient, + bot->getResponse(tmpUser, + language::is_administrator, + string("%s is the Official SithNet Network Administrator and CService Coordinator%s and logged in as %s")).c_str(), + target->getNickUserHost().c_str(), + extra.c_str(), + theUser->getUserName().c_str()); + return true; + } } } // namespace gnuworld. Index: gnuworld-sithnet/mod.cservice/cservice.cc diff -u gnuworld-sithnet/mod.cservice/cservice.cc:1.1.1.1 gnuworld-sithnet/mod.cservice/cservice.cc:1.2 --- gnuworld-sithnet/mod.cservice/cservice.cc:1.1.1.1 Mon Aug 18 13:30:43 2003 +++ gnuworld-sithnet/mod.cservice/cservice.cc Wed Aug 20 08:33:03 2003 @@ -18,7 +18,7 @@ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, * USA. * - * $Id: cservice.cc,v 1.1.1.1 2003/08/18 20:30:43 darthsidious_ Exp $ + * $Id: cservice.cc,v 1.2 2003/08/20 15:33:03 darthsidious_ Exp $ */ #include <new> @@ -271,6 +271,8 @@ relayChan = cserviceConfig->Require( "relay_channel" )->second ; debugChan = cserviceConfig->Require( "debug_channel" )->second ; coderChan = cserviceConfig->Require( "coder_channel" )->second ; +officialChan = cserviceConfig->Require( "official_channel" )->second ; +fedsChan = cserviceConfig->Require( "feds_channel" )->second ; pendingPageURL = cserviceConfig->Require( "pending_page_url" )->second ; updateInterval = atoi((cserviceConfig->Require( "update_interval" )->second).c_str()); expireInterval = atoi((cserviceConfig->Require( "expire_interval" )->second).c_str()); @@ -805,7 +807,7 @@ else if(Command == "VERSION") { xClient::DoCTCP(theClient, CTCP, - "Undernet P10 Channel Services II [" + "SithNet P10 Channel Services II [" __DATE__ " " __TIME__ "] Release 1.1pl13"); } @@ -1118,9 +1120,68 @@ return theLevel->getAccess(); } -// By default, users have level 0 admin access. +// By default, users have level 0 coder access. +return 0; +} + +/** + * Returns the 'Official' access level of a user + */ +short int cservice::getOfficialAccessLevel( sqlUser* theUser ) +{ +if (theUser->getFlag(sqlUser::F_GLOBAL_SUSPEND)) + { + return 0; + } + +sqlChannel* theChan = getChannelRecord(officialChan); +if (!theChan) + { + elog << "cservice::getOfficialAccessLevel> Unable to " + << "locate channel '" + << officialChan.c_str() + << "'! Sorry, I cant continue.." + << endl; + ::exit(0); + } +sqlLevel* theLevel = getLevelRecord(theUser, theChan); +if(theLevel) + { + return theLevel->getAccess(); + } +// By default, users have level 0 official access. return 0; } + +/** + * Returns the 'Feds' access level of a user + */ +short int cservice::getFedsAccessLevel( sqlUSer* theUser ) +{ +if (theUser->getFlag(sqlUser::F_GLOBAL_SUSPEND)) + { + return 0; + } + +sqlChannel* theChan = getChannelRecord(fedsChan); +if (!theChan) + { + elog << "cservice::getFedsAccessLevel> Unable to " + << "locate channel'" + << fedsChan.c_str() + <<"'! Sorry, I cant continue.." + << endl; + ::exit(0); + } +sqlLevel* theLevel = getLevelRecord(theUser, theChan); +if(theLevel) + { + return theLevel->getAccess(); + } +// By default, users have level 0 feds access. +return 0; +} + /** * Returns the access level a particular user has on a particular Index: gnuworld-sithnet/mod.cservice/cservice.h diff -u gnuworld-sithnet/mod.cservice/cservice.h:1.1.1.1 gnuworld-sithnet/mod.cservice/cservice.h:1.2 --- gnuworld-sithnet/mod.cservice/cservice.h:1.1.1.1 Mon Aug 18 13:30:44 2003 +++ gnuworld-sithnet/mod.cservice/cservice.h Wed Aug 20 08:33:03 2003 @@ -17,11 +17,11 @@ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, * USA. * - * $Id: cservice.h,v 1.1.1.1 2003/08/18 20:30:44 darthsidious_ Exp $ + * $Id: cservice.h,v 1.2 2003/08/20 15:33:03 darthsidious_ Exp $ */ #ifndef __CSERVICE_H -#define __CSERVICE_H "$Id: cservice.h,v 1.1.1.1 2003/08/18 20:30:44 darthsidious_ Exp $" +#define __CSERVICE_H "$Id: cservice.h,v 1.2 2003/08/20 15:33:03 darthsidious_ Exp $" #include <string> #include <vector> @@ -178,6 +178,14 @@ /* Returns what access a user has in the coder channel */ short getCoderAccessLevel( sqlUser* ); + /* Returns what 'official' access a user has. */ + short getOfficialAccessLevel( sqlUser* ); + + /* Returns what 'feds'access level a user has - usefull if your network has + * a #feds helper system and wants helpers to be easily identified + */ + short getFedsAccessLevel( sqlUser* ); + /* Fetch a user record for a user. */ sqlUser* getUserRecord( const string& ); @@ -272,9 +280,12 @@ // Flood/Notice relay channel - Loaded via config. // Added coderChan - Loaded via config. + // officialChan + fedsChan added - Loaded via config. string relayChan; string debugChan; string coderChan; + string officialChan; + string fedsChan; // Loaded via config. // Interval at which we pick up updates from the Db. Index: gnuworld-sithnet/mod.cservice/cservice_config.h diff -u gnuworld-sithnet/mod.cservice/cservice_config.h:1.1.1.1 gnuworld-sithnet/mod.cservice/cservice_config.h:1.2 --- gnuworld-sithnet/mod.cservice/cservice_config.h:1.1.1.1 Mon Aug 18 13:30:44 2003 +++ gnuworld-sithnet/mod.cservice/cservice_config.h Wed Aug 20 08:33:03 2003 @@ -16,11 +16,11 @@ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, * USA. * - * $Id: cservice_config.h,v 1.1.1.1 2003/08/18 20:30:44 darthsidious_ Exp $ + * $Id: cservice_config.h,v 1.2 2003/08/20 15:33:03 darthsidious_ Exp $ */ #ifndef __CSERVICE_CONFIG_H -#define __CSERVICE_CONFIG_H "$Id: cservice_config.h,v 1.1.1.1 2003/08/18 20:30:44 darthsidious_ Exp $" +#define __CSERVICE_CONFIG_H "$Id: cservice_config.h,v 1.2 2003/08/20 15:33:03 darthsidious_ Exp $" /** * Define this if you wish for all SQL queries to be sent @@ -43,18 +43,18 @@ * The maximum number of results to return to the user on * an LBANLIST query. */ -#define MAX_LBAN_RESULTS 10 +#define MAX_LBAN_RESULTS 20 /** * The maximum number of results to return to the user on * an ACCESS query. */ -#define MAX_ACCESS_RESULTS 15 +#define MAX_ACCESS_RESULTS 25 /** * The maximum number of search results to return to the user. */ -#define MAX_SEARCH_RESULTS 10 +#define MAX_SEARCH_RESULTS 20 /** * Do you want NEWPASS command or not? Index: gnuworld-sithnet/mod.cservice/levels.h diff -u gnuworld-sithnet/mod.cservice/levels.h:1.1.1.1 gnuworld-sithnet/mod.cservice/levels.h:1.2 --- gnuworld-sithnet/mod.cservice/levels.h:1.1.1.1 Mon Aug 18 13:30:45 2003 +++ gnuworld-sithnet/mod.cservice/levels.h Wed Aug 20 08:33:03 2003 @@ -21,11 +21,11 @@ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, * USA. * - * $Id: levels.h,v 1.1.1.1 2003/08/18 20:30:45 darthsidious_ Exp $ + * $Id: levels.h,v 1.2 2003/08/20 15:33:03 darthsidious_ Exp $ */ #ifndef __LEVELS_H -#define __LEVELS_H "$Id: levels.h,v 1.1.1.1 2003/08/18 20:30:45 darthsidious_ Exp $" +#define __LEVELS_H "$Id: levels.h,v 1.2 2003/08/20 15:33:03 darthsidious_ Exp $" namespace gnuworld { @@ -53,7 +53,7 @@ const int deop = 100; const int op = 100; - const int invite = 100; + const int invite = 24; // lowered from 100 const int suspend = 100; const int unsuspend = 100; @@ -66,7 +66,7 @@ const int remuser = 400; const int join = 450; - const int part = 500; + const int part = 450; const int setcmd = 450; const int logs = 501; // Level that logs are visible at @@ -114,7 +114,7 @@ const int special = 750; const int noreg = 750; const int neverreg = 750; - const int noforce = 750; + const int noforce = 1000; const int suspend = 501; const int tempman = 501; const int caution = 501; @@ -128,17 +128,44 @@ } namespace admin { - const int base = 1; - const int helper = 500; - const int admin = 949; - const int coder = 1000; + const int helper = 1; + const int tadmin = 300; + const int jadmin = 500; + const int admin = 750; + const int supervisor = 775; + const int officer = 800; + const int coman = 850; + const int csmgr = 900; + const int director = 950; + const int scoder = 960; + const int coord = 1000; + } + + namespace official { + const int helper = 1; + const int bot = 25; + const int somehow = 50; + const int scoder = 300; + const int admin = 400; + const int senior = 450; + const int founder = 500; + } + + namespace feds { + const int bot = 1; + const int helper = 24; + const int supervisor = 200; + const int oper = 300; + const int administrator = 400; + const int servadmin = 450; + const int manager = 500; } namespace coder { const int base = 1; const int contrib = 200; const int devel = 400; - const int senior = 499; + const int senior = 450; } } Index: gnuworld-sithnet/mod.cservice/responses.h diff -u gnuworld-sithnet/mod.cservice/responses.h:1.1.1.1 gnuworld-sithnet/mod.cservice/responses.h:1.2 --- gnuworld-sithnet/mod.cservice/responses.h:1.1.1.1 Mon Aug 18 13:30:58 2003 +++ gnuworld-sithnet/mod.cservice/responses.h Wed Aug 20 08:33:03 2003 @@ -22,11 +22,11 @@ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, * USA. * - * $Id: responses.h,v 1.1.1.1 2003/08/18 20:30:58 darthsidious_ Exp $ + * $Id: responses.h,v 1.2 2003/08/20 15:33:03 darthsidious_ Exp $ */ #ifndef __RESPONSES_H -#define __RESPONSES_H "$Id: responses.h,v 1.1.1.1 2003/08/18 20:30:58 darthsidious_ Exp $" +#define __RESPONSES_H "$Id: responses.h,v 1.2 2003/08/20 15:33:03 darthsidious_ Exp $" namespace gnuworld { @@ -185,9 +185,6 @@ const int is_an_ircop = 147; const int is_not_logged_in = 148; const int logged_in_as = 149; - const int is_cservice_rep = 150; - const int is_cservice_admin = 151; - const int is_cservice_dev = 152; const int exc_search = 153; const int restrict_search = 154; const int no_search_match = 155; @@ -211,6 +208,24 @@ const int noforce_set = 176; const int greeting = 9998; const int motd = 9999; + //cservice etc responses start + const int is_cservice_rep = 200; + const int is_cservice_tadmin = 201; + const int is cservice_jadmin = 202; + const int is_cservice_admin = 203; + const int is_cservice_sup = 204; + const int is_cservice_officer = 205; + const int is_cservice_co = 206; + const int is_cservice_mgr = 207; + const int is_cservice_director = 208; + const int is_cservice_coder = 209; + const int is_cservice_coord = 210; + const int is_administrator = 211; + + + + + } } ----------------------- End of diff ----------------------- |