brain
1ee66f376b
Check for NULL, set pointers to NULL after deletion
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3908 e03df62e-2008-0410-955e-edbf42e46eb7
2006-04-25 09:52:16 +00:00
brain
8b02407d93
Fix various typos and warnings
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3907 e03df62e-2008-0410-955e-edbf42e46eb7
2006-04-24 17:28:49 +00:00
brain
4b45dc1234
Typo in the macro :p
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3905 e03df62e-2008-0410-955e-edbf42e46eb7
2006-04-24 13:30:04 +00:00
brain
5d407fb44c
delete operator tracking in debug mode (using a macro -- live with it.)
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3904 e03df62e-2008-0410-955e-edbf42e46eb7
2006-04-24 13:28:07 +00:00
brain
65923c4d39
Movement of cmd_* headers into include/commands (this is incomplete)
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3896 e03df62e-2008-0410-955e-edbf42e46eb7
2006-04-20 18:46:25 +00:00
brain
bad99c30c7
Made FindMatching(Global|Local) available via users.h
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3872 e03df62e-2008-0410-955e-edbf42e46eb7
2006-04-12 00:37:36 +00:00
om
8403cf142a
Die windows die.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3871 e03df62e-2008-0410-955e-edbf42e46eb7
2006-04-11 22:50:27 +00:00
om
09dd16b981
Route some more stuff through socket.h and hash_map.h. Add #define protection to timer.h and remove some unneeded includes and externs from timer.cpp
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3869 e03df62e-2008-0410-955e-edbf42e46eb7
2006-04-10 22:50:41 +00:00
om
9063972162
Routing more socket includes through socket.h
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3868 e03df62e-2008-0410-955e-edbf42e46eb7
2006-04-10 22:16:34 +00:00
brain
129416e519
Typedef an ugly iterator, dont send mode string if no modes were in the output sequence
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3867 e03df62e-2008-0410-955e-edbf42e46eb7
2006-04-10 20:43:03 +00:00
om
ecb76110fd
A few more typedefs defined and put into use.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3866 e03df62e-2008-0410-955e-edbf42e46eb7
2006-04-10 20:38:26 +00:00
om
e7f08977f2
Add time.h include to inspircd.h. Random cleanups in channels.cpp, mostly using the typedef'ed names already defined rather than having the full template names everywhere. Remove some unneeded casts too.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3865 e03df62e-2008-0410-955e-edbf42e46eb7
2006-04-10 20:08:30 +00:00
om
5fb54ac29a
Assorted changes here, Extend() is not templated so you can pass it any pointer type and it will automatically be cast to char* for you. Also some speedups, store an iterator rather than calling find() once to check if it exists and again to access the value.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3864 e03df62e-2008-0410-955e-edbf42e46eb7
2006-04-10 19:30:48 +00:00
brain
3c272bcc1f
More fixes
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3863 e03df62e-2008-0410-955e-edbf42e46eb7
2006-04-10 12:45:40 +00:00
brain
4dd8228ede
Extra allowance for modes which have different number of params when being set to being unset (read as: jro smoking craq)
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3858 e03df62e-2008-0410-955e-edbf42e46eb7
2006-04-10 12:11:00 +00:00
brain
b01e94da8f
Start of new mode parser
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3857 e03df62e-2008-0410-955e-edbf42e46eb7
2006-04-10 11:50:48 +00:00
brain
87f5ef38db
Om's way is better and lets watchers change mode parameters for the modes theyre watching
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3856 e03df62e-2008-0410-955e-edbf42e46eb7
2006-04-09 20:50:12 +00:00
brain
772d6f16c0
Start of mode parser refactoring
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3855 e03df62e-2008-0410-955e-edbf42e46eb7
2006-04-09 20:40:47 +00:00
om
aa21503f06
Shuffle some more includes around, const reference a few functions in inspircd.*
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3854 e03df62e-2008-0410-955e-edbf42e46eb7
2006-04-09 11:51:24 +00:00
om
77123f4dec
Remove references to inspircd_io from these, stop configure making all the modules depend on it too. And remove some more un-needed includes
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3853 e03df62e-2008-0410-955e-edbf42e46eb7
2006-04-08 22:33:46 +00:00
om
bf388b2bf1
Obsolete
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3852 e03df62e-2008-0410-955e-edbf42e46eb7
2006-04-08 18:09:22 +00:00
om
25b4d21f47
Remove uneccessary socket includes now included in socket.h
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3851 e03df62e-2008-0410-955e-edbf42e46eb7
2006-04-08 17:24:18 +00:00
om
19e361b2f1
...
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3850 e03df62e-2008-0410-955e-edbf42e46eb7
2006-04-08 17:12:08 +00:00
om
2f95780557
And remember to add this one, just a little header with the #ifdef GCC3 ... stuff that's repeated in about 56543432 places
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3848 e03df62e-2008-0410-955e-edbf42e46eb7
2006-04-08 17:10:03 +00:00
om
d54fbc71e2
Split inspircd_io.* insp inspsocket.* and configreader.* with a few odd bits going into inspircd.*, doesn't look like I've broken anything... :P
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3847 e03df62e-2008-0410-955e-edbf42e46eb7
2006-04-08 17:05:48 +00:00
nenolod
ab24f0dca4
- first steps towards a working IPv6 port. I'll work more on this tomorrow. :-P
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3845 e03df62e-2008-0410-955e-edbf42e46eb7
2006-04-08 01:35:02 +00:00
om
e21c3bb140
Slight optimisation to config reader, looks nicer even if it's not faster.
...
Make ./inspircd script use -nolog (it already used -debug, which didn't exist until now!?)
Add commandline options -nolog and -debug, -debug forces all log messages to be output regardless of level. -nolog stops the logfile
being written, so you can run with -debug without filling up your disk.
make clean && make install, apparently some of the core doesn't depend on inspircd_io.h in the makefiles..so it'll probably segfault if
you don't.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3841 e03df62e-2008-0410-955e-edbf42e46eb7
2006-04-07 12:21:11 +00:00
om
b450c43062
move do_whois to cmd_whois, i'm stopping now. really.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3825 e03df62e-2008-0410-955e-edbf42e46eb7
2006-04-04 06:47:22 +00:00
om
0a06756363
Add WriteOpers_NoFormat, now to remember what I wanted it for
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3824 e03df62e-2008-0410-955e-edbf42e46eb7
2006-04-04 06:43:26 +00:00
om
54963bee70
All new shiny config parser, there's probably some bugs there somewhere but hey...I've been up all night. make clean before you try and compile this. Really. And nobody dare complain
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3817 e03df62e-2008-0410-955e-edbf42e46eb7
2006-04-04 05:55:54 +00:00
w00t
0fb892afc9
Forward port the removal of -nolimit (doesn't seem to be in the current command line stuff regardless?)
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3815 e03df62e-2008-0410-955e-edbf42e46eb7
2006-04-04 05:42:33 +00:00
om
e8ad4c8cb0
split_clist will never send lines over 512 chars, also should be faster
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3804 e03df62e-2008-0410-955e-edbf42e46eb7
2006-04-03 10:22:03 +00:00
om
c8cf429f7b
Undo me screwing stuff up
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3797 e03df62e-2008-0410-955e-edbf42e46eb7
2006-04-02 18:25:11 +00:00
om
0a6ee7c4af
Add amd64/linux to list of OS'es tested, but mainly CIA test :P
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3796 e03df62e-2008-0410-955e-edbf42e46eb7
2006-04-02 18:13:21 +00:00
om
2c228fe6eb
Add configuration option <options:operspywhois> to set if opers see invisble and private channels in /whois, also clean up the code for whois a bit, removing more uneccessary casts.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3789 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-30 22:08:26 +00:00
brain
5d942eaf95
Regression for buffering of sockets
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3760 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-26 14:20:57 +00:00
brain
acf64694a6
Allow adding of new client ports via /REHASH.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3731 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-18 18:31:03 +00:00
brain
883c04a08a
Removal of ancient TRUE/FALSE #defines (C-ish stuff)
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3700 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-13 13:42:56 +00:00
brain
572a7b503b
Commented a lot of stuff that hasnt been commented since 1.0.2
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3695 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-12 18:03:02 +00:00
brain
3a7fa1660c
Const refs (this is about the last of them in the core api)
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3694 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-12 16:56:02 +00:00
brain
ced58c3be3
Renamed to chanrec::modes
...
Renamed IsCustomModeSet to IsModeSet
GetModeParameter will now return the channel limit (as a string) for a request for mode 'l' and the channel key for a request for mode 'k'.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3692 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-12 14:49:30 +00:00
brain
988568f3d1
*NEEDS TESTING* changed binarymodes to use the custom_modes entries
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3691 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-12 14:26:15 +00:00
brain
c738817483
Removed chanrec::binarymodes - insp wont compile atm do not use :p
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3690 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-12 13:38:16 +00:00
brain
5fa0e83de4
Complete removal of all stl stuff here
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3686 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-11 20:38:15 +00:00
brain
43b4a302d4
Completely removed the deque
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3685 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-11 20:08:38 +00:00
brain
57e27d97fa
Fixes
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3669 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-11 18:02:11 +00:00
brain
ba1d557ee3
Added method to check if an fd is in the socketengine or not
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3667 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-11 17:47:47 +00:00
brain
871dd3c93b
Missed some stuff
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3664 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-11 16:56:07 +00:00
brain
a323e20162
const std::string &
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3663 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-11 16:48:45 +00:00
brain
9a526c77cc
Start of conversion to const refs for std::strings in module api - A LOT OF STUFF WONT WORK YET
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3654 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-11 14:47:26 +00:00