diff options
Diffstat (limited to 'src/inspircd.cpp')
-rw-r--r-- | src/inspircd.cpp | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/inspircd.cpp b/src/inspircd.cpp index a5bbdcfa0..9bc78878e 100644 --- a/src/inspircd.cpp +++ b/src/inspircd.cpp @@ -14,6 +14,10 @@ * --------------------------------------------------- $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 @@ -208,10 +212,12 @@ #include <time.h> #include <string> #include <hash_map.h> +#include <map.h> #include <sstream> #include <vector> #include <errno.h> #include <deque> +#include "connection.h" #include "users.h" #include "servers.h" #include "ctables.h" @@ -3612,6 +3618,14 @@ void handle_stats(char **parameters, int pcnt, userrec *user) } +void handle_connect(char **parameters, int pcnt, userrec *user) +{ +} + +void handle_squit(char **parameters, int pcnt, userrec *user) +{ +} + void handle_oper(char **parameters, int pcnt, userrec *user) { char LoginName[MAXBUF]; @@ -4014,6 +4028,8 @@ void SetupCommandTable(void) createcommand("PASS",handle_pass,0,1); createcommand("TRACE",handle_trace,'o',0); createcommand("WHOWAS",handle_whowas,0,1); + createcommand("CONNECT",handle_connect,'o',1); + createcommand("SQUIT",handle_squit,'o',1); } void process_buffer(userrec *user) @@ -4285,6 +4301,7 @@ int InspIRCd(void) debug("InspIRCd: accept failed: %d",ports[count]); break; } + AddClient(incomingSockfd, resolved, ports[count], iscached); debug("InspIRCd: adding client on port %d fd=%d",ports[count],incomingSockfd); break; |