diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/InspIRCd.dev | 246 | ||||
-rw-r--r-- | src/InspIRCd.layout | 199 | ||||
-rw-r--r-- | src/inspircd.cpp | 183 | ||||
-rw-r--r-- | src/inspircd_io.cpp | 30 | ||||
-rw-r--r-- | src/inspircd_util.cpp | 7 | ||||
-rw-r--r-- | src/modules.cpp | 16 | ||||
-rw-r--r-- | src/servers.cpp | 8 | ||||
-rw-r--r-- | src/users.cpp | 15 |
8 files changed, 445 insertions, 259 deletions
diff --git a/src/InspIRCd.dev b/src/InspIRCd.dev new file mode 100644 index 000000000..0336b25d7 --- /dev/null +++ b/src/InspIRCd.dev @@ -0,0 +1,246 @@ +[Project] +FileName=InspIRCd.dev +Name=InspIRCd +UnitCount=24 +Type=1 +Ver=1 +ObjFiles= +Includes= +Libs= +PrivateResource= +ResourceIncludes= +MakeIncludes= +Resources= +Compiler= +Linker= +IsCpp=1 +Icon= +ExeOutput= +ObjectOutput= +OverrideOutput=0 +OverrideOutputName= +HostApplication= +Folders=Modules,Headers +CommandLine= +IncludeVersionInfo=0 +SupportXPThemes=0 +CompilerSet=0 +CompilerSettings= + +[Unit1] +FileName=wildcard.cpp +Folder= +Compile=1 +CompileCpp=1 +OverrideBuildCmd=0 +BuildCmd= + +[Unit2] +FileName=inspircd.cpp +Folder= +Compile=1 +CompileCpp=1 +OverrideBuildCmd=0 +BuildCmd= + +[Unit3] +FileName=inspircd_io.cpp +Folder= +Compile=1 +CompileCpp=1 +OverrideBuildCmd=0 +BuildCmd= + +[Unit4] +FileName=inspircd_util.cpp +Folder= +Compile=1 +CompileCpp=1 +OverrideBuildCmd=0 +BuildCmd= + +[Unit5] +FileName=modules.cpp +Folder= +Compile=1 +CompileCpp=1 +OverrideBuildCmd=0 +BuildCmd= + +[Unit6] +FileName=servers.cpp +Folder= +Compile=1 +CompileCpp=1 +OverrideBuildCmd=0 +BuildCmd= + +[Unit7] +FileName=users.cpp +Folder= +Compile=1 +CompileCpp=1 +OverrideBuildCmd=0 +BuildCmd= + +[Unit8] +FileName=dynamic.cpp +Folder= +Compile=1 +CompileCpp=1 +OverrideBuildCmd=0 +BuildCmd= + +[Unit9] +FileName=modules\m_randquote.cpp +Folder=Modules +Compile=1 +CompileCpp=1 +OverrideBuildCmd=0 +BuildCmd= + +[Unit10] +FileName=modules\m_foobar.cpp +Folder=Modules +Compile=1 +CompileCpp=1 +OverrideBuildCmd=0 +BuildCmd= + +[Unit11] +FileName=modules\m_cloaking.cpp +Folder=Modules +Compile=1 +CompileCpp=1 +OverrideBuildCmd=0 +BuildCmd= + +[Unit12] +FileName=..\include\wildcard.h +Folder=Headers +Compile=1 +CompileCpp=1 +OverrideBuildCmd=0 +BuildCmd= + +[Unit13] +FileName=..\include\channels.h +Folder=Headers +Compile=1 +CompileCpp=1 +OverrideBuildCmd=0 +BuildCmd= + +[Unit14] +FileName=..\include\connection.h +Folder=Headers +Compile=1 +CompileCpp=1 +OverrideBuildCmd=0 +BuildCmd= + +[Unit15] +FileName=..\include\ctables.h +Folder=Headers +Compile=1 +CompileCpp=1 +OverrideBuildCmd=0 +BuildCmd= + +[Unit16] +FileName=..\include\dynamic.h +Folder=Headers +Compile=1 +CompileCpp=1 +OverrideBuildCmd=0 +BuildCmd= + +[Unit17] +FileName=..\include\globals.h +Folder=Headers +Compile=1 +CompileCpp=1 +OverrideBuildCmd=0 +BuildCmd= + +[Unit18] +FileName=..\include\inspircd.h +Folder=Headers +Compile=1 +CompileCpp=1 +OverrideBuildCmd=0 +BuildCmd= + +[Unit20] +FileName=..\include\inspircd_util.h +Folder=Headers +Compile=1 +CompileCpp=1 +OverrideBuildCmd=0 +BuildCmd= + +[Unit21] +FileName=..\include\modules.h +Folder=Headers +Compile=1 +CompileCpp=1 +OverrideBuildCmd=0 +BuildCmd= + +[Unit22] +FileName=..\include\servers.h +Folder=Headers +Compile=1 +CompileCpp=1 +OverrideBuildCmd=0 +BuildCmd= + +[Unit23] +FileName=..\include\users.h +Folder=Headers +Compile=1 +CompileCpp=1 +OverrideBuildCmd=0 +BuildCmd= + +[Unit24] +FileName=..\include\base.h +Folder=Headers +Compile=1 +CompileCpp=1 +OverrideBuildCmd=0 +BuildCmd= + +[Unit25] +FileName=..\include\base.h +Folder=Headers +Compile=1 +CompileCpp=1 +OverrideBuildCmd=0 +BuildCmd= + +[VersionInfo] +Major=0 +Minor=1 +Release=1 +Build=1 +LanguageID=1033 +CharsetID=1252 +CompanyName= +FileVersion= +FileDescription=Developed using the Dev-C++ IDE +InternalName= +LegalCopyright= +LegalTrademarks= +OriginalFilename= +ProductName= +ProductVersion= + +[Unit19] +FileName=..\include\inspircd_io.h +Folder=Headers +Compile=1 +CompileCpp=1 +OverrideBuildCmd=0 +BuildCmd= + diff --git a/src/InspIRCd.layout b/src/InspIRCd.layout new file mode 100644 index 000000000..6dbaa9d16 --- /dev/null +++ b/src/InspIRCd.layout @@ -0,0 +1,199 @@ +[Editors] +Focused=-1 +Order=-1,7,1,2,3,4,5,6,0 + +[Editor_0] +Open=1 +Top=0 +CursorCol=1 +CursorRow=1 +TopLine=1 +LeftChar=1 + +[Editor_1] +Open=1 +Top=0 +CursorCol=1 +CursorRow=1 +TopLine=1 +LeftChar=1 + +[Editor_2] +Open=1 +Top=0 +CursorCol=1 +CursorRow=1 +TopLine=1 +LeftChar=1 + +[Editor_3] +Open=1 +Top=0 +CursorCol=1 +CursorRow=3 +TopLine=1 +LeftChar=1 + +[Editor_4] +Open=1 +Top=0 +CursorCol=1 +CursorRow=3 +TopLine=1 +LeftChar=1 + +[Editor_5] +Open=1 +Top=0 +CursorCol=1 +CursorRow=3 +TopLine=1 +LeftChar=1 + +[Editor_6] +Open=1 +Top=0 +CursorCol=1 +CursorRow=3 +TopLine=1 +LeftChar=1 + +[Editor_7] +Open=1 +Top=0 +CursorCol=1 +CursorRow=1 +TopLine=1 +LeftChar=1 + +[Editor_8] +Open=1 +Top=0 +CursorCol=1 +CursorRow=1 +TopLine=1 +LeftChar=1 + +[Editor_9] +Open=1 +Top=0 +CursorCol=1 +CursorRow=1 +TopLine=1 +LeftChar=1 + +[Editor_10] +Open=1 +Top=0 +CursorCol=1 +CursorRow=1 +TopLine=1 +LeftChar=1 + +[Editor_11] +Open=1 +Top=0 +CursorCol=1 +CursorRow=1 +TopLine=1 +LeftChar=1 + +[Editor_12] +Open=1 +Top=0 +CursorCol=1 +CursorRow=3 +TopLine=1 +LeftChar=1 + +[Editor_13] +Open=1 +Top=0 +CursorCol=1 +CursorRow=3 +TopLine=1 +LeftChar=1 + +[Editor_14] +Open=1 +Top=0 +CursorCol=1 +CursorRow=1 +TopLine=1 +LeftChar=1 + +[Editor_15] +Open=1 +Top=0 +CursorCol=1 +CursorRow=3 +TopLine=1 +LeftChar=1 + +[Editor_16] +Open=1 +Top=0 +CursorCol=1 +CursorRow=3 +TopLine=1 +LeftChar=1 + +[Editor_17] +Open=1 +Top=0 +CursorCol=1 +CursorRow=3 +TopLine=1 +LeftChar=1 + +[Editor_18] +Open=1 +Top=0 +CursorCol=1 +CursorRow=14 +TopLine=1 +LeftChar=1 + +[Editor_19] +Open=1 +Top=0 +CursorCol=1 +CursorRow=3 +TopLine=1 +LeftChar=1 + +[Editor_20] +Open=1 +Top=0 +CursorCol=1 +CursorRow=1 +TopLine=1 +LeftChar=1 + +[Editor_21] +Open=1 +Top=0 +CursorCol=1 +CursorRow=3 +TopLine=1 +LeftChar=1 + +[Editor_22] +Open=1 +Top=0 +CursorCol=1 +CursorRow=1 +TopLine=1 +LeftChar=1 + +[Editor_23] +Open=1 +Top=1 +CursorCol=1 +CursorRow=3 +TopLine=1 +LeftChar=1 + +[Editor_24] +Open=0 +Top=0 diff --git a/src/inspircd.cpp b/src/inspircd.cpp index 9bc78878e..ac8a46c1f 100644 --- a/src/inspircd.cpp +++ b/src/inspircd.cpp @@ -12,189 +12,6 @@ * the file COPYING for details. * * --------------------------------------------------- - - $Log$ - Revision 1.5 2003/01/26 23:53:03 brain - Modified documentation for base classes - Added base classes - - Revision 1.4 2003/01/26 20:15:03 brain - Added server classes for linking - - Revision 1.3 2003/01/25 20:17:53 brain - Fixed WHOWAS memory leak - - Revision 1.2 2003/01/25 20:00:45 brain - Added /WHOWAS - - Revision 1.1.1.1 2003/01/23 19:45:58 brain - InspIRCd second source tree - - Revision 1.56 2003/01/22 20:49:16 brain - Added FileReader file-caching class - Changed m_randquote to use FileReader class - - Revision 1.55 2003/01/21 16:56:19 brain - Fixed a few minor bugs - - Revision 1.54 2003/01/21 02:07:10 brain - optimisations galore! - - Revision 1.53 2003/01/21 00:18:40 brain - fixed random crash on kill_link (AGAIN) - was /stats - improved speed 10x (because i can...) - - Revision 1.52 2003/01/19 20:12:24 brain - Fixed ident max length to 10 - - Revision 1.51 2003/01/18 22:02:11 brain - fixed multiple /MODE +l bugs (thanks to akky and BOFH bugging meh!) - - Revision 1.50 2003/01/18 01:19:14 brain - Added code to tidy up bans (e.g. max nick length) - i blame mIRC! - - Revision 1.49 2003/01/17 22:03:57 brain - Fixed dodgy mode glitches (the ones Craig loves to play with, awww) - - Revision 1.48 2003/01/17 21:20:43 brain - Implemented usermode +s - - Revision 1.47 2003/01/17 21:13:40 brain - Added channel modes, +k, +l, +i, +m etc - Added user and channel modes +i, +p, +s - - Revision 1.46 2003/01/17 18:44:27 brain - Implemented channel mode +m - - Revision 1.45 2003/01/17 18:26:42 brain - added /TRACE command - - Revision 1.44 2003/01/17 15:21:03 brain - Fixed: /LUSERS cant count :P - - Revision 1.43 2003/01/17 13:21:38 brain - Added CONNECT ALLOW and CONNECT DENY config tags - Added PASS command - - Revision 1.42 2003/01/17 10:37:55 brain - Added /INVITE command and relevent structures - - Revision 1.41 2003/01/16 20:11:55 brain - fixed some ugly pointer bugs (thanks dblack and a|KK|y!) - - Revision 1.40 2003/01/16 08:31:44 brain - Fixed parameter error in QUIT code (was showing junk chars on BSD) - - Revision 1.39 2003/01/15 22:47:44 brain - Changed user and channel structs to classes (finally) - - Revision 1.38 2003/01/15 20:56:58 brain - Added wildcard support - Added channel bans - - Revision 1.37 2003/01/15 16:08:42 brain - Attempted to fix closed client sessions not being detected - - Revision 1.36 2003/01/15 09:36:13 brain - added pause= value to /die and /restart in config - - Revision 1.35 2003/01/14 22:08:31 brain - attemted to fix weird crash on /kill - - Revision 1.34 2003/01/14 21:44:25 brain - Added /USERS stub - Added /SUMMON stub - Changed optimisation to -O3 (much faster!) - - Revision 1.33 2003/01/14 21:14:30 brain - added /ISON command (for mIRC etc basic notify) - - Revision 1.32 2003/01/14 20:55:02 brain - Fixed more param crunching bugs - Added /AWAY - - Revision 1.31 2003/01/14 00:46:02 brain - Added m_cloaking.so module, provides host masking - - Revision 1.30 2003/01/13 22:30:50 brain - Added Admin class (holds /admin info for modules) - Added methods to Server class - - Revision 1.29 2003/01/13 00:43:29 brain - Added Server class - Added more code to example module demonstrating use of Server class - - Revision 1.28 2003/01/12 17:40:44 brain - ./configure improved by Craig (better prompts, dir creation) - '/stats z' added detail - - Revision 1.27 2003/01/12 16:49:53 brain - Added '/stats z' - - Revision 1.26 2003/01/12 15:01:18 brain - Added hostname/ip caching to speed up connects - - Revision 1.25 2003/01/11 21:39:57 brain - Made ircd cache message of the day in a vector (faster!) - Added support for multiple lines of /NAMES on large channels - - Revision 1.24 2003/01/11 19:00:10 brain - Added /USERHOST command - - Revision 1.23 2003/01/11 17:57:28 brain - Added '/STATS O' - Added more module error checking - - Revision 1.22 2003/01/11 00:48:44 brain - removed random debug output - - Revision 1.21 2003/01/11 00:06:46 brain - Fixed random crash on nickchange - Fine tuned ability to handle >300 users - - Revision 1.20 2003/01/09 22:24:59 brain - added '/stats L' (connect-info) - - Revision 1.19 2003/01/09 21:38:51 brain - '/stats u' support added (server uptime) - - Revision 1.18 2003/01/09 21:09:50 brain - added '/stats M' command - - Revision 1.17 2003/01/08 22:11:38 brain - - Added extra dynamic module support, new methods to Module class - - Revision 1.16 2003/01/08 17:48:48 brain - - fixed "user lingering" problem in kill_link - - Revision 1.15 2003/01/07 23:17:51 brain - - Fixed wallops and command parameter counting bugs - - Revision 1.14 2003/01/07 20:47:34 brain - - Fixes random crash on nickchange (must keep classfactory pointers!) - - Revision 1.13 2003/01/07 19:57:56 brain - - Dynamix module support, preliminary release - - Revision 1.12 2003/01/07 01:01:30 brain - - Changed command table to a vector of command_t types - - Revision 1.11 2003/01/06 23:43:30 brain - - extra debug output - - Revision 1.10 2003/01/06 23:38:29 brain - - just playing with header tags - - - * --------------------------------------------------- */ /* Now with added unF! ;) */ diff --git a/src/inspircd_io.cpp b/src/inspircd_io.cpp index 474f48fe1..d561a9c38 100644 --- a/src/inspircd_io.cpp +++ b/src/inspircd_io.cpp @@ -12,36 +12,6 @@ * the file COPYING for details. * * --------------------------------------------------- - - $Log$ - Revision 1.1 2003/01/23 19:45:58 brain - Initial revision - - Revision 1.12 2003/01/22 20:49:16 brain - Added FileReader file-caching class - Changed m_randquote to use FileReader class - - Revision 1.11 2003/01/21 20:31:24 brain - Modified to add documentation - Added ConfigReader class for modules - - Revision 1.10 2003/01/16 20:11:55 brain - fixed some ugly pointer bugs (thanks dblack and a|KK|y!) - - Revision 1.9 2003/01/09 13:05:58 brain - - Fixed socket lingering problems (is BSD compatible) - - Revision 1.8 2003/01/07 19:57:56 brain - - Dynamix module support, preliminary release - - Revision 1.7 2003/01/06 23:38:29 brain - - just playing with header tags - - - * --------------------------------------------------- */ #include "inspircd.h" diff --git a/src/inspircd_util.cpp b/src/inspircd_util.cpp index 756a61d23..0a3d966d3 100644 --- a/src/inspircd_util.cpp +++ b/src/inspircd_util.cpp @@ -1,12 +1,5 @@ /* -$Log$ -Revision 1.1 2003/01/23 19:45:58 brain -Initial revision - -Revision 1.2 2003/01/15 22:49:18 brain -Added log macros - */ diff --git a/src/modules.cpp b/src/modules.cpp index 36dbd2933..1b17a61e2 100644 --- a/src/modules.cpp +++ b/src/modules.cpp @@ -1,21 +1,5 @@ /* -$Log$ -Revision 1.1 2003/01/23 19:45:58 brain -Initial revision - -Revision 1.7 2003/01/22 20:49:16 brain -Added FileReader file-caching class -Changed m_randquote to use FileReader class - -Revision 1.6 2003/01/21 20:31:24 brain -Modified to add documentation -Added ConfigReader class for modules - -Revision 1.5 2003/01/13 22:30:50 brain -Added Admin class (holds /admin info for modules) -Added methods to Server class - */ diff --git a/src/servers.cpp b/src/servers.cpp index c334b5c91..98da2264c 100644 --- a/src/servers.cpp +++ b/src/servers.cpp @@ -1,13 +1,5 @@ /* -$Log$ -Revision 1.2 2003/01/26 23:53:03 brain -Modified documentation for base classes -Added base classes - -Revision 1.1 2003/01/26 20:15:03 brain -Added server classes for linking - */ diff --git a/src/users.cpp b/src/users.cpp index a6ced8231..b179fabdd 100644 --- a/src/users.cpp +++ b/src/users.cpp @@ -1,20 +1,5 @@ /* -$Log$ -Revision 1.1 2003/01/23 19:45:58 brain -Initial revision - -Revision 1.3 2003/01/17 13:21:38 brain -Added CONNECT ALLOW and CONNECT DENY config tags -Added PASS command - -Revision 1.2 2003/01/17 10:37:55 brain -Added /INVITE command and relevent structures - -Revision 1.1 2003/01/16 01:10:04 brain -forgot to add this - - */ #include "inspircd_config.h" |