summaryrefslogtreecommitdiff
path: root/src/inspircd.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2003-01-26 23:53:03 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2003-01-26 23:53:03 +0000
commitf81a2e12b09634cacd4ccf9da584c835ee71bf24 (patch)
tree7772d7719b6b369bd618eafb8f4b926d21192dcc /src/inspircd.cpp
parent767b12b0ab6a0d4ed5f7335b26d1c0f842d99543 (diff)
Modified documentation for base classes
Added base classes git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@151 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/inspircd.cpp')
-rw-r--r--src/inspircd.cpp17
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;