2714 Commits

Author SHA1 Message Date
om
46bd3bb94a Hopefully speed this up, it was strlcpy()ing every line even when +c wasnt set, and copying wasn't neccessary anyway
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3463 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-05 17:22:41 +00:00
brain
2b28153d13 Make install depends on make as requested by ol (also means i can build and install insp in one step again if i want)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3462 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-05 17:12:41 +00:00
brain
f7d0f0a514 Colon before the reasons in STATS, so that it doesnt munge up the reason in certain clients
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3461 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-05 14:27:35 +00:00
brain
aa223a7d91 Sped up introduction of nicks using vector::resize() rather than the craq++ loop (wtf was i thinking doing it that way?)
Removed 'client connecting notices dont show locally during burst' -- this is silly as it doesnt work remotely and is pretty much pointless


git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3460 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-05 00:08:48 +00:00
brain
49329f48b7 Fix for bug first noticed by zephyrus where you could send -j+ntr to a channel which has +ntrj, and see the mode change "-j+" - now strips off any trailing + or - chars
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3458 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-04 23:47:25 +00:00
brain
748d500bc4 More verbose when setting g/z/k/q/e lines from other servers. With the new system which prevents lag during bursts this won't flood opers quite so much to the point where they quit (i hope) :p
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3456 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-04 22:31:41 +00:00
brain
c0ec231b3c Typo fix
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3454 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-04 19:52:19 +00:00
brain
e3f853d14b Unknown command error now tells the opposite server WHICH command is bad so that people dont have to go sleuthing to find it
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3453 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-04 19:17:26 +00:00
brain
71a86d7d6b Tidyup of m_hostchange to not use configreader on each connection!
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3452 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-04 17:55:38 +00:00
brain
9501e825f8 Increment rev.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3451 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-04 17:47:22 +00:00
brain
65620235af Tidied up m_override to avoid use of configreader during free-running
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3450 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-04 17:43:06 +00:00
brain
90909af6ea Fixed bugs
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3449 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-04 17:34:07 +00:00
brain
c47b1137d1 Fixed a few typos
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3448 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-04 17:31:08 +00:00
brain
a2984dc689 Old stuff left behind
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3447 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-04 17:29:53 +00:00
brain
d1fad914b1 Tidyup of m_filter
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3446 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-04 17:29:05 +00:00
brain
63f5e1e205 Changed m_censor to avoid reading config several times for each pm
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3445 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-04 17:10:50 +00:00
brain
affc69e0b5 m_censor skenmy fix
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3444 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-04 16:47:54 +00:00
brain
cf6d6a0665 Fix for MODE #chan +o- nick or +o-- nick, etc
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3443 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-03 18:03:45 +00:00
brain
5b46e2717d ...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3442 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-03 11:35:57 +00:00
brain
413f775b89 Fix to prevent recursive call to DoBackgroundTimer
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3441 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-02 23:03:13 +00:00
brain
81761626d0 Typo that didn't look like a typo :p
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3440 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-02 19:47:32 +00:00
brain
6880d5bced Typos
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3439 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-02 19:39:03 +00:00
brain
c3b861b250 Added IS_SINGLE, see comment in include/inspircd.h
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3438 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-02 19:34:57 +00:00
brain
d7c9583c8e Removed sleep()
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3437 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-02 18:29:39 +00:00
brain
75aad16a97 Added a sleep on startup to stop it mucking up the display
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3436 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-02 18:24:09 +00:00
brain
c22eb39ad3 Changed output on startup
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3435 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-02 18:21:29 +00:00
brain
2166d5e63c Slight optimization here
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3434 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-02 17:51:09 +00:00
brain
66a5aabdbd Strdup's to stop corruption of oper classes
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3433 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-02 17:30:04 +00:00
brain
af03ce859e Fix for warning
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3432 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-02 17:24:38 +00:00
brain
e829227e6c sstrdup?!
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3431 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-02 17:22:40 +00:00
brain
4927edc5fb *UNTESTED* speeding up HasPermission by factor of hundreds, avoid using EnumConf and ConfValue outside of rehash *AT ALL*
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3430 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-02 17:19:49 +00:00
brain
d1212c6071 ..
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3429 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-02 16:53:59 +00:00
brain
17ca73f1f2 is_uline was an inefficient piece of crap - fixed.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3428 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-02 16:48:00 +00:00
brain
055b733595 More efficient AddClient, initializes two identical buffers at once ;)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3427 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-02 16:08:12 +00:00
brain
b1270ff565 Added stuff to log() to make it recalculate the time using asctime() less often
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3426 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-02 14:57:40 +00:00
brain
af0f219afc Made host fields more correct 64 in length with 63 copies
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3425 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-02 13:34:04 +00:00
brain
e9f634be37 Remove debug, allow empty 'final' parameter
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3424 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-02 13:09:32 +00:00
brain
7b6ca95965 Typo
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3423 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-02 13:06:19 +00:00
brain
c300228d2a I hate having to commit to get these onto the other test server
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3422 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-02 13:05:51 +00:00
brain
87ff7e0cdd Should be working now
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3421 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-02 13:02:41 +00:00
brain
21bcc43b15 More logic tweaks
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3420 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-02 12:59:17 +00:00
brain
2faa628370 Logic fixes
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3419 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-02 12:55:45 +00:00
brain
5bacd1de02 Experimental improvements to TreeSocket::Split
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3418 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-02 12:52:45 +00:00
brain
4c6fb8032b Made extensive use of charlcat to cut down on strlcat usage
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3417 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-02 12:00:57 +00:00
brain
99f6009b2d Added charlcat which appends a single char to a char* string (range checked)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3416 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-02 11:45:38 +00:00
brain
21a1aec26c De-uglified chanrec::SetCustomMode -- no strlcat, no std::string, just some very clever pointer voodoo
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3415 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-02 11:31:37 +00:00
brain
18c757067c Changed definition of CallHandler and CallCommandHandler for the ability to return false on bad command.
This allows us to terminate server links that send commands we dont know (e.g. admin loads module A after linking, we dont have module A, when it sends module A's command, abort)


git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3414 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-02 09:57:48 +00:00
brain
86499a92b6 Extra checks that should prevent desyncs if you stuff up your type/class tags between servers
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3413 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-02 09:44:15 +00:00
om
c881ce4120 Make ./inspircd ignore SIGPIPE and start running without the user having to type 'run' / 'r'
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3412 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-02 01:31:08 +00:00
brain
274c648662 4.1 fix
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3411 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-02 01:04:41 +00:00