]>
git.netwichtig.de Git - user/henk/code/inspircd.git/log
peavey [Thu, 28 Dec 2006 18:27:27 +0000 (18:27 +0000)]
microly minorly typo.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6142
e03df62e -2008-0410-955e-
edbf42e46eb7
peavey [Thu, 28 Dec 2006 18:04:48 +0000 (18:04 +0000)]
Add m_lockserv to example conf.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6140
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Thu, 28 Dec 2006 17:25:07 +0000 (17:25 +0000)]
Fix for empty 005 lines
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6139
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Thu, 28 Dec 2006 17:11:53 +0000 (17:11 +0000)]
Tidy up indenting in here and remove a ^M
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6138
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Thu, 28 Dec 2006 16:55:50 +0000 (16:55 +0000)]
Reasonably sized fix - when adding modes in modules, be sure to check the return value so we dont load two modules with conflicting modes
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6137
e03df62e -2008-0410-955e-
edbf42e46eb7
peavey [Thu, 28 Dec 2006 15:26:29 +0000 (15:26 +0000)]
Add support for LOCKSERV/UNLOCKSERV to block/open for new connections. Thanks to LeaChim for first version too.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6136
e03df62e -2008-0410-955e-
edbf42e46eb7
peavey [Thu, 28 Dec 2006 14:27:55 +0000 (14:27 +0000)]
Add m_dnsbl to example conf.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6135
e03df62e -2008-0410-955e-
edbf42e46eb7
peavey [Thu, 28 Dec 2006 14:22:05 +0000 (14:22 +0000)]
Tidyup and is now a vendor module.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6134
e03df62e -2008-0410-955e-
edbf42e46eb7
peavey [Thu, 28 Dec 2006 13:46:53 +0000 (13:46 +0000)]
Whoops unused variable.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6133
e03df62e -2008-0410-955e-
edbf42e46eb7
peavey [Thu, 28 Dec 2006 13:45:25 +0000 (13:45 +0000)]
Add cleanup of objects on readconf and in destructor.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6132
e03df62e -2008-0410-955e-
edbf42e46eb7
peavey [Thu, 28 Dec 2006 13:38:15 +0000 (13:38 +0000)]
Remove an extra delete that caused a segfault.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6131
e03df62e -2008-0410-955e-
edbf42e46eb7
peavey [Tue, 26 Dec 2006 23:22:42 +0000 (23:22 +0000)]
Fix deprotectself=no not working.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6130
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Tue, 26 Dec 2006 20:40:09 +0000 (20:40 +0000)]
Beta 8 track! (oh, and there are now officially more 1.1 betas than there were 1.0 betas)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6129
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Tue, 26 Dec 2006 20:02:13 +0000 (20:02 +0000)]
Crux!
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6127
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Tue, 26 Dec 2006 18:03:41 +0000 (18:03 +0000)]
have configure detect SOMAXCONN and store it in a string define, SOMAXCONN_S
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6126
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Tue, 26 Dec 2006 17:47:56 +0000 (17:47 +0000)]
Add defaults for a ton of config vars, fix indentation, and add MAXCLIENTS_S to avoid one of the itoa()'s
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6125
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Tue, 26 Dec 2006 12:41:10 +0000 (12:41 +0000)]
Change to use std::string::iterator rather than making a copy of the pointer and using .c_str()
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6124
e03df62e -2008-0410-955e-
edbf42e46eb7
peavey [Tue, 26 Dec 2006 12:08:59 +0000 (12:08 +0000)]
Just a little tweak so trigger values makes more sense.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6123
e03df62e -2008-0410-955e-
edbf42e46eb7
peavey [Tue, 26 Dec 2006 11:48:59 +0000 (11:48 +0000)]
Document new blockcaps options in example conf.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6122
e03df62e -2008-0410-955e-
edbf42e46eb7
peavey [Tue, 26 Dec 2006 11:44:32 +0000 (11:44 +0000)]
Add support for config option for percent and minimum string length +P will trigger on.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6121
e03df62e -2008-0410-955e-
edbf42e46eb7
peavey [Tue, 26 Dec 2006 05:58:09 +0000 (05:58 +0000)]
Add some defaults to serverconfig, removing need to set them in validate methods. Still more to do in multitags.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6120
e03df62e -2008-0410-955e-
edbf42e46eb7
peavey [Tue, 26 Dec 2006 05:55:45 +0000 (05:55 +0000)]
Add Template itoa to convert integer to char*
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6119
e03df62e -2008-0410-955e-
edbf42e46eb7
peavey [Tue, 26 Dec 2006 03:35:50 +0000 (03:35 +0000)]
Even more typos from Tyler...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6118
e03df62e -2008-0410-955e-
edbf42e46eb7
peavey [Tue, 26 Dec 2006 03:01:15 +0000 (03:01 +0000)]
Another minor typo discovered by Tyler.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6117
e03df62e -2008-0410-955e-
edbf42e46eb7
peavey [Tue, 26 Dec 2006 01:48:55 +0000 (01:48 +0000)]
Also add support for default values for ConfValueBool and ConfValueInteger in configreader, and for ReadFlag and ReadInteger in modules.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6116
e03df62e -2008-0410-955e-
edbf42e46eb7
peavey [Tue, 26 Dec 2006 01:36:46 +0000 (01:36 +0000)]
Fix small typo found by Tyler.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6115
e03df62e -2008-0410-955e-
edbf42e46eb7
peavey [Tue, 26 Dec 2006 00:54:20 +0000 (00:54 +0000)]
Tidyup a few var inits for whowas and ircu style prefix.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6114
e03df62e -2008-0410-955e-
edbf42e46eb7
peavey [Tue, 26 Dec 2006 00:51:20 +0000 (00:51 +0000)]
Add possibility to define default value for ConfValue in configreader and ReadConf in modules.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6113
e03df62e -2008-0410-955e-
edbf42e46eb7
peavey [Mon, 25 Dec 2006 20:32:37 +0000 (20:32 +0000)]
Fix m_httpd always crashing in destructor if no active Timeout.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6112
e03df62e -2008-0410-955e-
edbf42e46eb7
peavey [Mon, 25 Dec 2006 13:54:06 +0000 (13:54 +0000)]
Cosmetic fix to stats z output.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6111
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sun, 24 Dec 2006 23:25:43 +0000 (23:25 +0000)]
Fix ISON with multiple lines of ISON response, canonize the responses to weed out dupes, because trillian's irc support blows donkeys
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6110
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sun, 24 Dec 2006 22:17:24 +0000 (22:17 +0000)]
Fix broken +G for AnMaster (thanks for pointing out the bug)
Also: MAJOR speed increase for *any network that loads m_censor*!
It seems that this was looping all the censor items (not attempting a replace though) for all channels and users, even those that WERE NOT +G!
Fixed.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6109
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sun, 24 Dec 2006 21:45:20 +0000 (21:45 +0000)]
Correctly ignore commented out includes
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6108
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sun, 24 Dec 2006 21:28:20 +0000 (21:28 +0000)]
Double whoops
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6107
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sun, 24 Dec 2006 21:27:37 +0000 (21:27 +0000)]
Whoops!
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6106
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sun, 24 Dec 2006 21:12:21 +0000 (21:12 +0000)]
SQLQuery operator% and operator, now support any data type
(these are templated, and pass the type through ConvToStr())
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6105
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sun, 24 Dec 2006 18:38:57 +0000 (18:38 +0000)]
Tidyup
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6104
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sun, 24 Dec 2006 18:38:29 +0000 (18:38 +0000)]
Tidyup
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6103
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sun, 24 Dec 2006 14:25:51 +0000 (14:25 +0000)]
Add new people to /info
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6102
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sun, 24 Dec 2006 13:38:32 +0000 (13:38 +0000)]
Tidyup Leet Caps Like This, and display PID when performing operations
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6101
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sun, 24 Dec 2006 13:33:03 +0000 (13:33 +0000)]
Make gdb ignore sighup too
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6100
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sun, 24 Dec 2006 13:32:26 +0000 (13:32 +0000)]
And fix obligitary brainfarts
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6099
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sun, 24 Dec 2006 13:32:06 +0000 (13:32 +0000)]
Whoops, crash on sighup due to passing null argv and argc (similar to rehash, throwback to old code)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6098
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sun, 24 Dec 2006 13:28:42 +0000 (13:28 +0000)]
Fix the launcher for two situations:
* pid file defined, but in a comment (ignore it)
* pid file not defined, because its no longer manditory (assume configdir/inspircd.pid)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6097
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sun, 24 Dec 2006 11:26:39 +0000 (11:26 +0000)]
Damnit, the comment caused a conflict :<
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6096
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sun, 24 Dec 2006 11:24:47 +0000 (11:24 +0000)]
w00t was right, freebsd needs <getopt.h> too
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6095
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sun, 24 Dec 2006 11:18:02 +0000 (11:18 +0000)]
Added a comment /* GNUs smell */ to an #ifdef linux makes us put in
(what sort of craqsmoker puts posix standard functions that belong in unistd.h into getopt.h but only on linux? muppets).
#ifdef _GNU_SOURCE
#include <getopt.h>
#endif .....
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6094
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sun, 24 Dec 2006 11:13:31 +0000 (11:13 +0000)]
Change argument parsing to use getopt_long_only().
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6093
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sun, 24 Dec 2006 10:43:06 +0000 (10:43 +0000)]
Fix --with-max-clients not taking a parameter (reported by erich)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6092
e03df62e -2008-0410-955e-
edbf42e46eb7
peavey [Sun, 24 Dec 2006 04:01:45 +0000 (04:01 +0000)]
Fix a bug in whowas that could desync list.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6091
e03df62e -2008-0410-955e-
edbf42e46eb7
peavey [Sun, 24 Dec 2006 01:43:19 +0000 (01:43 +0000)]
Add whowas usage to stats z.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6090
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sun, 24 Dec 2006 00:53:00 +0000 (00:53 +0000)]
Neither should this
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6089
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sun, 24 Dec 2006 00:51:29 +0000 (00:51 +0000)]
Relatively small typo fix
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6088
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sun, 24 Dec 2006 00:43:02 +0000 (00:43 +0000)]
Add call for OnGarbageCollect to the hourly cleanup
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6087
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sun, 24 Dec 2006 00:42:22 +0000 (00:42 +0000)]
Add OnGarbageCollect method
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6086
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sun, 24 Dec 2006 00:37:15 +0000 (00:37 +0000)]
Do garbage collection of hash map automatically every hour
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6085
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sun, 24 Dec 2006 00:34:13 +0000 (00:34 +0000)]
Fix loop when quitting multiple users (this is probably whats eating cpu)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6084
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sat, 23 Dec 2006 23:58:26 +0000 (23:58 +0000)]
Better checks for NULL log handles
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6083
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sat, 23 Dec 2006 23:52:53 +0000 (23:52 +0000)]
We can't log in SocketEngine::DelFd(), because the fd we're removing might just be that of the logger!
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6082
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sat, 23 Dec 2006 23:18:34 +0000 (23:18 +0000)]
Crash on /rehash fixed (old code in here passed NULL, 0 as argc, argv, this is BAD BAD BAD.)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6081
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sat, 23 Dec 2006 23:06:37 +0000 (23:06 +0000)]
Hash rehashing change
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6080
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sat, 23 Dec 2006 17:08:02 +0000 (17:08 +0000)]
Close logfile on rehash and reopen (it was only doing this on sighup for some reason)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6079
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sat, 23 Dec 2006 16:43:46 +0000 (16:43 +0000)]
Dont sleep if there is a diedelay of 0
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6078
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sat, 23 Dec 2006 16:41:22 +0000 (16:41 +0000)]
Fix exit in wrong place, and add new exitcodes.h
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6077
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sat, 23 Dec 2006 16:40:09 +0000 (16:40 +0000)]
Fix bug in m_dnsbl, a condition is always matched because someone was using unsigned int to check a return val that can be -1 *slap w00t*
Change around the way exit codes are formed so that we can return a sensible exit code that reflects why inspircd exited
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6076
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sat, 23 Dec 2006 16:06:16 +0000 (16:06 +0000)]
Program termination (including SIGTERM) now calls InspIRCd::Cleanup() which does most of the duties performed by InspIRCd::Restart().
This means that on controlled shutdown we give the modules a chance to unload, etc, and close our sockets and free ram in a proper way.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6075
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sat, 23 Dec 2006 15:14:54 +0000 (15:14 +0000)]
Fix issue where the last module to be loaded wasnt unloaded by restart
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6074
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sat, 23 Dec 2006 15:04:14 +0000 (15:04 +0000)]
Cut down on debug on restart
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6073
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sat, 23 Dec 2006 15:01:26 +0000 (15:01 +0000)]
Use GetModuleCount() rather than the member var
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6072
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sat, 23 Dec 2006 14:57:15 +0000 (14:57 +0000)]
Fix glitch when restarting on 2nd pass of module unload
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6071
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sat, 23 Dec 2006 14:54:47 +0000 (14:54 +0000)]
Add more comments.
Catch CoreException in cmd_restart, and if we catch one, just exit(0). Theres very little else we could do.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6070
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sat, 23 Dec 2006 14:22:14 +0000 (14:22 +0000)]
Close client sockets too (do these last)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6069
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sat, 23 Dec 2006 14:19:33 +0000 (14:19 +0000)]
Unload as many modules as we can on restart, and close listeners
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6068
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sat, 23 Dec 2006 14:06:57 +0000 (14:06 +0000)]
Refactored /RESTART (and added InspIRCd::Restart(reason))
Fixed bug in m_ziplinks, assigning instead of testing a var (gcc 4.1.1 picked up on this, 3.4 didnt)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6067
e03df62e -2008-0410-955e-
edbf42e46eb7
peavey [Fri, 22 Dec 2006 22:02:50 +0000 (22:02 +0000)]
change userrec int timeout to time_t since it's a timestamp made of TIME + users connection class timeout.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6066
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Fri, 22 Dec 2006 21:27:42 +0000 (21:27 +0000)]
Uninitialized values: fun for ALL the family this xmas time.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6065
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Fri, 22 Dec 2006 20:45:38 +0000 (20:45 +0000)]
Add ConvToInt() template to go with ConvToStr() that we've had for a while
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6064
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Fri, 22 Dec 2006 20:32:59 +0000 (20:32 +0000)]
Line 1582 configreader.cpp
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6063
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Fri, 22 Dec 2006 20:13:14 +0000 (20:13 +0000)]
Remove useless debug
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6062
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Fri, 22 Dec 2006 20:12:15 +0000 (20:12 +0000)]
Refactor connect allow/deny lines
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6061
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Fri, 22 Dec 2006 17:45:05 +0000 (17:45 +0000)]
Reduce logging caused by mode changes
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6060
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Fri, 22 Dec 2006 17:35:33 +0000 (17:35 +0000)]
Fix for alias var names within aliases
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6059
e03df62e -2008-0410-955e-
edbf42e46eb7
special [Fri, 22 Dec 2006 00:57:18 +0000 (00:57 +0000)]
Fixed to compile properly with -O; keep in mind that this is not supported, use at your own risk.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6058
e03df62e -2008-0410-955e-
edbf42e46eb7
special [Thu, 21 Dec 2006 23:47:35 +0000 (23:47 +0000)]
Removed a pointless check in ./configure --clean that made it only work with one dash
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6057
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Thu, 21 Dec 2006 20:34:16 +0000 (20:34 +0000)]
Fix for bug #180, logging is not threadsafe, mutex it (ew, luckily we dont log much)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6056
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Thu, 21 Dec 2006 19:30:01 +0000 (19:30 +0000)]
And back onto the SVN track...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6055
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Thu, 21 Dec 2006 19:16:44 +0000 (19:16 +0000)]
Beta 6, patchlevel 1 (lets try this again.)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6053
e03df62e -2008-0410-955e-
edbf42e46eb7
peavey [Thu, 21 Dec 2006 01:48:50 +0000 (01:48 +0000)]
Proper fix for CS server crash, forgot to delete chanrec* from users chanlist on PurgeEmptyChannels()
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6052
e03df62e -2008-0410-955e-
edbf42e46eb7
peavey [Thu, 21 Dec 2006 01:04:53 +0000 (01:04 +0000)]
Crude hotfix to what's been crashing chatspike
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6051
e03df62e -2008-0410-955e-
edbf42e46eb7
special [Thu, 21 Dec 2006 00:40:15 +0000 (00:40 +0000)]
This should fix the issue with unsetting +J
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6050
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Tue, 19 Dec 2006 20:27:23 +0000 (20:27 +0000)]
When we handle a READ event on a user, return immediately.
This is because the read event may remove the user, in which case the !empty and quituser check below will address invalid data!
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6049
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Tue, 19 Dec 2006 18:02:13 +0000 (18:02 +0000)]
Fix server prefix on JOIN.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6048
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Mon, 18 Dec 2006 23:36:25 +0000 (23:36 +0000)]
Avoid no such nick on non oper attempting to view modes of a user.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6047
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Mon, 18 Dec 2006 18:42:17 +0000 (18:42 +0000)]
std::string something = "";
is the most redundant and wasteful thing in the world, apart from unrealircd. BE GONE WITH IT!
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6046
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Mon, 18 Dec 2006 18:40:36 +0000 (18:40 +0000)]
Whack a warning (unused var)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6045
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Mon, 18 Dec 2006 18:39:41 +0000 (18:39 +0000)]
Then, realize you got your subtraction back to front.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6044
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Mon, 18 Dec 2006 18:39:17 +0000 (18:39 +0000)]
Really clever VOODOO.
RegisteredUserCount() used to take longer to execute than UnregisteredUserCount(), as all unregged users are local, so you only need to count in the local
vector not the global map.
Therefore, make RegisteredUserCount() just return this: this->UnregisteredUserCount() - clientlist.size()
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6043
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Mon, 18 Dec 2006 18:35:25 +0000 (18:35 +0000)]
Refactor dns.cpp to use an array of request types rather than map, for O(1) lookup time
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6042
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Mon, 18 Dec 2006 12:17:06 +0000 (12:17 +0000)]
Fix bug in m_dnsbl: Only the first <dnsbl> tag would be processed.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6041
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sun, 17 Dec 2006 22:15:17 +0000 (22:15 +0000)]
Fix for new m_helpop
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6040
e03df62e -2008-0410-955e-
edbf42e46eb7