brain
a48ee868ed
Added comments for doxygen
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1395 e03df62e-2008-0410-955e-edbf42e46eb7
2005-05-15 17:01:47 +00:00
brain
a79130a1e1
Added irc::string
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1394 e03df62e-2008-0410-955e-edbf42e46eb7
2005-05-15 16:44:44 +00:00
brain
c4a230243f
sorted hashcomp etc
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1387 e03df62e-2008-0410-955e-edbf42e46eb7
2005-05-15 04:21:31 +00:00
brain
eb7125445e
(Untested) added hashcomp.cpp, seperates out the stl hash_map stuff
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1384 e03df62e-2008-0410-955e-edbf42e46eb7
2005-05-15 03:17:33 +00:00
brain
eb4229deed
Moved a ton of functions into helperfuncs.h to speed up recompiles
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1383 e03df62e-2008-0410-955e-edbf42e46eb7
2005-05-15 03:03:23 +00:00
brain
84b6d82413
Added idea from ircu: /invite with too few params shows the channels youve been invited to but have not yet joined
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1382 e03df62e-2008-0410-955e-edbf42e46eb7
2005-05-15 00:56:11 +00:00
brain
36127608a9
Added 'uniqueness sums': http://www.inspircd.org/wiki/InspIRCd_Server_Protocol#Uniqueness_Sums
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1378 e03df62e-2008-0410-955e-edbf42e46eb7
2005-05-14 18:29:44 +00:00
brain
d75dbad760
Added Server::GetServerDescription() at request of Craig
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1374 e03df62e-2008-0410-955e-edbf42e46eb7
2005-05-13 19:20:55 +00:00
brain
9c70fbb7c7
Optimized some static structs
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1370 e03df62e-2008-0410-955e-edbf42e46eb7
2005-05-12 20:30:45 +00:00
brain
194838af39
Changed the type of struct whowas records are stored in (no need to waste a big heavy userrec)
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1369 e03df62e-2008-0410-955e-edbf42e46eb7
2005-05-12 19:09:42 +00:00
brain
2cd3b57fe0
Structure optimizations, changed a lot of bools into binary bitmasks
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1368 e03df62e-2008-0410-955e-edbf42e46eb7
2005-05-12 18:42:06 +00:00
brain
a266dadd13
Documented new recvq and sendq stuff
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1367 e03df62e-2008-0410-955e-edbf42e46eb7
2005-05-12 02:26:05 +00:00
brain
b2c011a23a
Customizable by-byte-size recvq stuff
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1365 e03df62e-2008-0410-955e-edbf42e46eb7
2005-05-12 00:36:20 +00:00
brain
16934ea875
added sendq stuff, see example config
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1362 e03df62e-2008-0410-955e-edbf42e46eb7
2005-05-11 23:47:09 +00:00
brain
70246812d3
Added basic sendq stuff - WARNING, there is no configuration yet, this CVS allows sendq's to grow INFINITELY
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1361 e03df62e-2008-0410-955e-edbf42e46eb7
2005-05-11 21:54:47 +00:00
brain
a81394b65d
Changed the final bunch of udp_* vars to server_*/tcp_*
...
Fixed ircservices sending PING
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1326 e03df62e-2008-0410-955e-edbf42e46eb7
2005-05-08 00:52:03 +00:00
brain
f938b078f8
Fixes to:
...
+s and +p channels wouldn't be synched correctly
+s and +p never show in whois even when you're a member of them
+s and +p never show in list even if you're a member of them
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1308 e03df62e-2008-0410-955e-edbf42e46eb7
2005-05-05 12:42:20 +00:00
brain
f9055253d2
Fixed to always look for the ircd.log within the bin/ dir
...
Fixed to not spool the error log after ./inspircd debug
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1290 e03df62e-2008-0410-955e-edbf42e46eb7
2005-05-03 12:50:52 +00:00
brain
b8b1fccfad
Added FindDescriptor
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1273 e03df62e-2008-0410-955e-edbf42e46eb7
2005-05-01 22:11:29 +00:00
brain
a643172dd7
Added and tested fd crossreference table - improves speed a lot, and fixes one of the /STATS chars which has been broken a while
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1271 e03df62e-2008-0410-955e-edbf42e46eb7
2005-05-01 19:21:21 +00:00
brain
81722ff786
Tried a new way of doing remote versions
...
commented some users and connections code
added remote @* notice
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1269 e03df62e-2008-0410-955e-edbf42e46eb7
2005-04-30 20:56:20 +00:00
brain
c12ec889bb
Added OnAddBan and OnDelBan module api calls, and fixed glitch which required them in m_timedbans module
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1267 e03df62e-2008-0410-955e-edbf42e46eb7
2005-04-30 02:55:55 +00:00
brain
db11f2b24c
Fixed some flood checking
...
added noticeall
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1262 e03df62e-2008-0410-955e-edbf42e46eb7
2005-04-29 15:01:13 +00:00
brain
483ec8439c
A few anti-flood features
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1260 e03df62e-2008-0410-955e-edbf42e46eb7
2005-04-29 08:28:33 +00:00
brain
80015fe115
Updated buffering, faster and more sensible (old code sucks)
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1256 e03df62e-2008-0410-955e-edbf42e46eb7
2005-04-29 05:46:17 +00:00
brain
2470212ed1
Added remote versioning
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1244 e03df62e-2008-0410-955e-edbf42e46eb7
2005-04-28 19:39:18 +00:00
brain
c59cdd8ba8
Changed some comments
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1237 e03df62e-2008-0410-955e-edbf42e46eb7
2005-04-28 13:09:38 +00:00
brain
b10ac3beb6
Added a Server:: method to send server notices to channels
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1214 e03df62e-2008-0410-955e-edbf42e46eb7
2005-04-27 15:21:08 +00:00
brain
627f54deb1
Added explicit oper tracking in a vector of userrec* pointers, optimizes sending out oper notices
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1209 e03df62e-2008-0410-955e-edbf42e46eb7
2005-04-27 02:30:30 +00:00
brain
3ffb95a123
Commented new functions
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1198 e03df62e-2008-0410-955e-edbf42e46eb7
2005-04-26 17:09:25 +00:00
brain
6d56b904fc
Major *MAJOR* optimizations by double-referencing channels to users
...
(never need to scan the entire user hash again except in very rare circumstances)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1197 e03df62e-2008-0410-955e-edbf42e46eb7
2005-04-26 17:01:59 +00:00
brain
90b9864a0e
Added channel 'counter', increases speed of quits, parts, kicks
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1194 e03df62e-2008-0410-955e-edbf42e46eb7
2005-04-26 15:14:05 +00:00
brain
1f56002af5
Fixed dicky buffer (due to cleanup the wrong variable was being used)
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1193 e03df62e-2008-0410-955e-edbf42e46eb7
2005-04-26 13:31:24 +00:00
brain
b6f5d703b0
Major code tidyup (-W) - expect a few belches
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1190 e03df62e-2008-0410-955e-edbf42e46eb7
2005-04-26 00:58:31 +00:00
brain
ddc514e66d
Added global oper monitoring through modules and global connect monitoring through modules
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1177 e03df62e-2008-0410-955e-edbf42e46eb7
2005-04-23 23:33:13 +00:00
brain
a7ca75838a
Services speedups for stupid buffered i/o uplinks
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1175 e03df62e-2008-0410-955e-edbf42e46eb7
2005-04-23 22:24:27 +00:00
brain
3e87dae328
Added server input buffers (for systems that decide buffering is fun)
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1165 e03df62e-2008-0410-955e-edbf42e46eb7
2005-04-22 23:52:35 +00:00
brain
30b22d2b48
Added OnOperCompare function to override strcmp in password check for /oper
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1161 e03df62e-2008-0410-955e-edbf42e46eb7
2005-04-22 15:10:11 +00:00
brain
d0668060ca
Added password field
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1155 e03df62e-2008-0410-955e-edbf42e46eb7
2005-04-21 14:21:58 +00:00
brain
1b24d217bb
Added extra comment
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1137 e03df62e-2008-0410-955e-edbf42e46eb7
2005-04-20 16:02:09 +00:00
brain
2db0df5813
Added module message passing architecture
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1136 e03df62e-2008-0410-955e-edbf42e46eb7
2005-04-20 15:48:27 +00:00
brain
1e4d37149c
Added OnUserDisconnect method to modules.* to fix fd leak in m_ident.cpp
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1134 e03df62e-2008-0410-955e-edbf42e46eb7
2005-04-20 02:48:12 +00:00
brain
668df37516
Added:
...
OnMeshToken
MeshSendAll(std::string text);
MeshSendCommon(userrec* user, std::string text);
MeshSendAllAlive(std::string text);
MeshSendUnicast(std::string destination, std::string text);
MeshSendAllExcept(std::string target, std::string text);
MeshCheckChan(chanrec *c,std::string servername);
MeshCheckCommon(userrec* u,std::string servername);
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1112 e03df62e-2008-0410-955e-edbf42e46eb7
2005-04-16 18:58:08 +00:00
brain
d664aec8c1
Added a chanrec to OnRawMode, om pointed out i hadnt given him it :D
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1108 e03df62e-2008-0410-955e-edbf42e46eb7
2005-04-16 01:26:20 +00:00
brain
517dd987a7
Added new API methods:
...
int Module::OnRawMode(userrec* user, char mode, std::string param, bool adding, int pcnt);
int Module::OnCheckInvite(userrec* user, chanrec* chan);
int Module::OnCheckKey(userrec* user, chanrec* chan, std::string keygiven);
int Module::OnCheckLimit(userrec* user, chanrec* chan);
int Module::OnCheckBan(userrec* user, chanrec* chan);
void Module::OnStats(char symbol);
int Module::OnChangeLocalUserHost(userrec* user, std::string newhost);
int Module::OnChangeLocalUserGECOS(userrec* user, std::string newhost);
int Module::OnLocalTopicChange(userrec* user, chanrec* chan, std::string topic);
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1105 e03df62e-2008-0410-955e-edbf42e46eb7
2005-04-15 19:29:20 +00:00
brain
8edd8f730d
Removed deprecated class 'packet'
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1103 e03df62e-2008-0410-955e-edbf42e46eb7
2005-04-15 14:52:13 +00:00
brain
75d690dda1
Added ability for modules to hold users in a 'holding pattern' while they do stuff on connect
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1088 e03df62e-2008-0410-955e-edbf42e46eb7
2005-04-14 15:56:17 +00:00
brain
580632d29a
Added OnUserKick and OnUserPreKick
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1086 e03df62e-2008-0410-955e-edbf42e46eb7
2005-04-14 13:27:40 +00:00
brain
eacdc9ef87
Added (untested!) OnCheckReady and OnUserRegister (gonna write an ident lookup module!)
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1081 e03df62e-2008-0410-955e-edbf42e46eb7
2005-04-14 12:47:19 +00:00
brain
9a3475ed58
Added OnPreCommand
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1080 e03df62e-2008-0410-955e-edbf42e46eb7
2005-04-14 12:09:53 +00:00