]> git.netwichtig.de Git - user/henk/code/inspircd.git/log
user/henk/code/inspircd.git
17 years agoFix ISON with multiple lines of ISON response, canonize the responses to weed out...
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

17 years agoFix broken +G for AnMaster (thanks for pointing out the bug)
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

17 years agoCorrectly ignore commented out includes
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

17 years agoDouble whoops
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

17 years agoWhoops!
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

17 years agoSQLQuery operator% and operator, now support any data type
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

17 years agoTidyup
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

17 years agoTidyup
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

17 years agoAdd new people to /info
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

17 years agoTidyup Leet Caps Like This, and display PID when performing operations
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

17 years agoMake gdb ignore sighup too
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

17 years agoAnd fix obligitary brainfarts
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

17 years agoWhoops, crash on sighup due to passing null argv and argc (similar to rehash, throwba...
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

17 years agoFix the launcher for two situations:
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

17 years agoDamnit, the comment caused a conflict :<
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

17 years agow00t was right, freebsd needs <getopt.h> too
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

17 years agoAdded a comment /* GNUs smell */ to an #ifdef linux makes us put in
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

17 years agoChange argument parsing to use getopt_long_only().
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

17 years agoFix --with-max-clients not taking a parameter (reported by erich)
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

17 years agoFix a bug in whowas that could desync list.
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

17 years agoAdd whowas usage to stats z.
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

17 years agoNeither should this
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

17 years agoRelatively small typo fix
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

17 years agoAdd call for OnGarbageCollect to the hourly cleanup
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

17 years agoAdd OnGarbageCollect method
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

17 years agoDo garbage collection of hash map automatically every hour
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

17 years agoFix loop when quitting multiple users (this is probably whats eating cpu)
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

17 years agoBetter checks for NULL log handles
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

17 years agoWe can't log in SocketEngine::DelFd(), because the fd we're removing might just be...
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

17 years agoCrash on /rehash fixed (old code in here passed NULL, 0 as argc, argv, this is BAD...
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

17 years agoHash rehashing change
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

17 years agoClose logfile on rehash and reopen (it was only doing this on sighup for some reason)
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

17 years agoDont sleep if there is a diedelay of 0
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

17 years agoFix exit in wrong place, and add new exitcodes.h
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

17 years agoFix bug in m_dnsbl, a condition is always matched because someone was using unsigned...
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

17 years agoProgram termination (including SIGTERM) now calls InspIRCd::Cleanup() which does...
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

17 years agoFix issue where the last module to be loaded wasnt unloaded by restart
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

17 years agoCut down on debug on restart
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

17 years agoUse GetModuleCount() rather than the member var
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

17 years agoFix glitch when restarting on 2nd pass of module unload
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

17 years agoAdd more comments.
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

17 years agoClose client sockets too (do these last)
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

17 years agoUnload as many modules as we can on restart, and close listeners
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

17 years agoRefactored /RESTART (and added InspIRCd::Restart(reason))
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

17 years agochange userrec int timeout to time_t since it's a timestamp made of TIME + users...
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

17 years agoUninitialized values: fun for ALL the family this xmas time.
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

17 years agoAdd ConvToInt() template to go with ConvToStr() that we've had for a while
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

17 years agoLine 1582 configreader.cpp
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

17 years agoRemove useless debug
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

17 years agoRefactor connect allow/deny lines
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

17 years agoReduce logging caused by mode changes
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

17 years agoFix for alias var names within aliases
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

17 years agoFixed to compile properly with -O; keep in mind that this is not supported, use at...
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

17 years agoRemoved a pointless check in ./configure --clean that made it only work with one...
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

17 years agoFix for bug #180, logging is not threadsafe, mutex it (ew, luckily we dont log much)
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

17 years agoAnd back onto the SVN track...
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

17 years agoBeta 6, patchlevel 1 (lets try this again.)
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

17 years agoProper fix for CS server crash, forgot to delete chanrec* from users chanlist on...
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

17 years agoCrude hotfix to what's been crashing chatspike
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

17 years agoThis should fix the issue with unsetting +J
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

17 years agoWhen we handle a READ event on a user, return immediately.
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

17 years agoFix server prefix on JOIN.
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

17 years agoAvoid no such nick on non oper attempting to view modes of a user.
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

17 years agostd::string something = "";
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

17 years agoWhack a warning (unused var)
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

17 years agoThen, realize you got your subtraction back to front.
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

17 years agoReally clever VOODOO.
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

17 years agoRefactor dns.cpp to use an array of request types rather than map, for O(1) lookup...
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

17 years agoFix bug in m_dnsbl: Only the first <dnsbl> tag would be processed.
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

17 years agoFix for new m_helpop
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

17 years agoAdvance the version number to beta7+SVN
brain [Sun, 17 Dec 2006 21:25:12 +0000 (21:25 +0000)]
Advance the version number to beta7+SVN

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6039 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoBranch for beta 6 Juletre
brain [Sun, 17 Dec 2006 16:37:55 +0000 (16:37 +0000)]
Branch for beta 6 Juletre

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6037 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoFix this (at last) to only log commands which are operonly
brain [Sun, 17 Dec 2006 15:24:09 +0000 (15:24 +0000)]
Fix this (at last) to only log commands which are operonly

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6036 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoAdd this:
brain [Sun, 17 Dec 2006 14:40:34 +0000 (14:40 +0000)]
Add this:
#define CMD_LOCALONLY CMD_FAILURE
so that when we say 'return cmd_failure to not allow spanningtree to propogate the message', the constant itself documents the code instead and is more readable.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6035 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoCorrectly send TS in JOIN so that services packages etc dont become desynched (plus...
brain [Sun, 17 Dec 2006 13:35:21 +0000 (13:35 +0000)]
Correctly send TS in JOIN so that services packages etc dont become desynched (plus our own protocol docs say we do this when we send JOIN, oops breaking my own standards now)

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6034 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoAdd a message to the makefile, when starting the build: "this will take a long time...
brain [Sun, 17 Dec 2006 13:28:50 +0000 (13:28 +0000)]
Add a message to the makefile, when starting the build: "this will take a long time, why not read our wiki while waiting for make to run"

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6033 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoDont use FJOIN to join users to channels outside the burst (revert to earlier betas...
brain [Sun, 17 Dec 2006 13:15:43 +0000 (13:15 +0000)]
Dont use FJOIN to join users to channels outside the burst (revert to earlier betas behaviour) which should prevent some spurious deops during normal
operation

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6032 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoUse $^O rather than chomp(`uname`); - use perl's neat detection of the OS name :p
brain [Sun, 17 Dec 2006 03:24:27 +0000 (03:24 +0000)]
Use $^O rather than chomp(`uname`); - use perl's neat detection of the OS name :p

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6031 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoMake RemoveCommand private.
peavey [Sun, 17 Dec 2006 02:58:57 +0000 (02:58 +0000)]
Make RemoveCommand private.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6030 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoInvented safe delete-while-itering for hash_map.
peavey [Sun, 17 Dec 2006 02:46:47 +0000 (02:46 +0000)]
Invented safe delete-while-itering for hash_map.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6029 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoWhen receiving an FJOIN, if we have no local users, dont send deops, this just contri...
brain [Sun, 17 Dec 2006 02:18:03 +0000 (02:18 +0000)]
When receiving an FJOIN, if we have no local users, dont send deops, this just contributes to pointless server noise

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6028 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoHandle removal of permenant svsholds
brain [Sun, 17 Dec 2006 01:22:10 +0000 (01:22 +0000)]
Handle removal of permenant svsholds

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6027 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoFix potential crash, not enough parameters for va_arg when adding perm SVSHOLD
brain [Sun, 17 Dec 2006 01:18:29 +0000 (01:18 +0000)]
Fix potential crash, not enough parameters for va_arg when adding perm SVSHOLD

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6026 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoFix a little = turned into a ==
peavey [Sun, 17 Dec 2006 01:17:56 +0000 (01:17 +0000)]
Fix a little = turned into a ==

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6025 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoUse safe iter for deleting while iterating
peavey [Sun, 17 Dec 2006 01:14:18 +0000 (01:14 +0000)]
Use safe iter for deleting while iterating

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6024 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agosomeone test this please
brain [Sun, 17 Dec 2006 01:07:28 +0000 (01:07 +0000)]
someone test this please

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6023 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoIf the caller said no linefeeds, dont bail, instead just turn the linefeeds into...
brain [Sun, 17 Dec 2006 00:35:05 +0000 (00:35 +0000)]
If the caller said no linefeeds, dont bail, instead just turn the linefeeds into spaces, so that
"aaaa
bbbb"
becomes "aaaa bbbb".

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6022 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoFinally document <insane> tag, we've had this since like 1.0 beta 6, but we never...
brain [Sun, 17 Dec 2006 00:15:37 +0000 (00:15 +0000)]
Finally document <insane> tag, we've had this since like 1.0 beta 6, but we never documented it in the example config (oops)

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6020 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoAdd format="" value, at request of Emeric.
brain [Sat, 16 Dec 2006 23:15:50 +0000 (23:15 +0000)]
Add format="" value, at request of Emeric.
See: http://www.inspircd.org/forum/index.php/topic,245.0.html

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6019 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoConfig option added for prefixed channel NOTICEs and PRIVMSGs to turn on/off IRCU...
peavey [Sat, 16 Dec 2006 22:43:56 +0000 (22:43 +0000)]
Config option added for prefixed channel NOTICEs and PRIVMSGs to turn on/off IRCU style of adding prefix to outgoing text.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6018 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoAdd stuff so that the core catches CoreException properly
brain [Sat, 16 Dec 2006 21:40:06 +0000 (21:40 +0000)]
Add stuff so that the core catches CoreException properly

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6017 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoAllow linefeeds in this module in one value
brain [Sat, 16 Dec 2006 21:14:54 +0000 (21:14 +0000)]
Allow linefeeds in this module in one value

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6016 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoTidy up text formatting
brain [Sat, 16 Dec 2006 21:12:30 +0000 (21:12 +0000)]
Tidy up text formatting

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6015 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoChange m_helpop to use the new boolean flag in ReadConf for allowing newlines, tidy...
brain [Sat, 16 Dec 2006 21:10:01 +0000 (21:10 +0000)]
Change m_helpop to use the new boolean flag in ReadConf for allowing newlines, tidy up text formatting a bit.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6014 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoAdd an optional parameter to ConfigReader::ReadValue which defines if we want linefee...
brain [Sat, 16 Dec 2006 21:04:47 +0000 (21:04 +0000)]
Add an optional parameter to ConfigReader::ReadValue which defines if we want linefeeds or not.
Tidy up some duplicated code in configreader (error reporting)
Change ModuleException to inherit from CoreException, have the configreader throw and catch its CoreException on fatal error

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6013 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoFix all the left out examples that dont get copied to the config dir on install
brain [Sat, 16 Dec 2006 18:39:53 +0000 (18:39 +0000)]
Fix all the left out examples that dont get copied to the config dir on install

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6012 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoAdd some comments to explain whats going off in one of the TreeSocket constructors
brain [Sat, 16 Dec 2006 10:49:13 +0000 (10:49 +0000)]
Add some comments to explain whats going off in one of the TreeSocket constructors

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6011 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoNot sending capab when theres no transport module attached to a server socket
brain [Sat, 16 Dec 2006 10:28:15 +0000 (10:28 +0000)]
Not sending capab when theres no transport module attached to a server socket

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6010 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoGet rid of HelpopException, use ModuleException thats had reasons for ages now
brain [Sat, 16 Dec 2006 09:58:45 +0000 (09:58 +0000)]
Get rid of HelpopException, use ModuleException thats had reasons for ages now

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6009 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agow00t: the power to rewrite modules in the leap of a small tiredness barrier. helpop...
w00t [Sat, 16 Dec 2006 03:00:40 +0000 (03:00 +0000)]
w00t: the power to rewrite modules in the leap of a small tiredness barrier. helpop refactored to use a leet cached map lookup, should be fast, leet, cool, etc. I'm going to bed.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6008 e03df62e-2008-0410-955e-edbf42e46eb7