summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2006-12-24Fix ISON with multiple lines of ISON response, canonize the responses to ↵brain
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
2006-12-24Fix broken +G for AnMaster (thanks for pointing out the bug)brain
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
2006-12-24Correctly ignore commented out includesbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6108 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-24Double whoopsbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6107 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-24Whoops!brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6106 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-24SQLQuery operator% and operator, now support any data typebrain
(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
2006-12-24Tidyupbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6104 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-24Tidyupbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6103 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-24Add new people to /infobrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6102 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-24Tidyup Leet Caps Like This, and display PID when performing operationsbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6101 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-24Make gdb ignore sighup toobrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6100 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-24And fix obligitary brainfartsbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6099 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-24Whoops, crash on sighup due to passing null argv and argc (similar to ↵brain
rehash, throwback to old code) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6098 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-24Fix the launcher for two situations:brain
* 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
2006-12-24Damnit, the comment caused a conflict :<brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6096 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-24w00t was right, freebsd needs <getopt.h> toobrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6095 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-24Added a comment /* GNUs smell */ to an #ifdef linux makes us put inbrain
(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
2006-12-24Change argument parsing to use getopt_long_only().brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6093 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-24Fix --with-max-clients not taking a parameter (reported by erich)brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6092 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-24Fix a bug in whowas that could desync list.peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6091 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-24Add whowas usage to stats z.peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6090 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-24Neither should thisbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6089 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-24Relatively small typo fixbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6088 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-24Add call for OnGarbageCollect to the hourly cleanupbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6087 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-24Add OnGarbageCollect methodbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6086 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-24Do garbage collection of hash map automatically every hourbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6085 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-24Fix loop when quitting multiple users (this is probably whats eating cpu)brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6084 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-23Better checks for NULL log handlesbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6083 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-23We can't log in SocketEngine::DelFd(), because the fd we're removing might ↵brain
just be that of the logger! git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6082 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-23Crash on /rehash fixed (old code in here passed NULL, 0 as argc, argv, this ↵brain
is BAD BAD BAD.) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6081 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-23Hash rehashing changebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6080 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-23Close logfile on rehash and reopen (it was only doing this on sighup for ↵brain
some reason) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6079 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-23Dont sleep if there is a diedelay of 0brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6078 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-23Fix exit in wrong place, and add new exitcodes.hbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6077 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-23Fix bug in m_dnsbl, a condition is always matched because someone was using ↵brain
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
2006-12-23Program termination (including SIGTERM) now calls InspIRCd::Cleanup() which ↵brain
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
2006-12-23Fix issue where the last module to be loaded wasnt unloaded by restartbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6074 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-23Cut down on debug on restartbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6073 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-23Use GetModuleCount() rather than the member varbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6072 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-23Fix glitch when restarting on 2nd pass of module unloadbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6071 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-23Add more comments.brain
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
2006-12-23Close client sockets too (do these last)brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6069 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-23Unload as many modules as we can on restart, and close listenersbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6068 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-23Refactored /RESTART (and added InspIRCd::Restart(reason))brain
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
2006-12-22change userrec int timeout to time_t since it's a timestamp made of TIME + ↵peavey
users connection class timeout. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6066 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-22Uninitialized values: fun for ALL the family this xmas time.brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6065 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-22Add ConvToInt() template to go with ConvToStr() that we've had for a whilebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6064 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-22Line 1582 configreader.cppbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6063 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-22Remove useless debugbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6062 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-22Refactor connect allow/deny linesbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6061 e03df62e-2008-0410-955e-edbf42e46eb7