2685 Commits

Author SHA1 Message Date
brain
f9c3f95cb7 Tidying of some vars here and there
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3485 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-06 03:11:32 +00:00
brain
6ac0d02912 Sorted out some silly indenting left over from an if() that died a death years ago
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3484 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-06 03:06:38 +00:00
brain
41017b931f Removal of variable that no longer has any use
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3483 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-06 02:47:57 +00:00
brain
02359de340 Tidied up give/take methods
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3482 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-06 01:51:11 +00:00
brain
f562574cc7 Indent tidyup
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3481 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-06 01:19:47 +00:00
brain
b83387a930 Unneccessary strcasecmps
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3480 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-06 01:16:05 +00:00
brain
f8f23a35ad Comments in the right places
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3479 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-06 01:07:47 +00:00
brain
c5fa02be4c I dont think there are any more non-essential strlcpy's left in here.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3478 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-06 01:05:41 +00:00
brain
57bbced211 Removed another strlcpy -- a lot of copying stuff that doesnt need to be copied if we're careful.
Obviously in the past, we werent so careful and mucked up/polluted params as we dealt with them! :P


git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3477 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-06 00:43:10 +00:00
brain
9c9a0e768f Removed redundant strlcpy
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3476 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-06 00:40:15 +00:00
brain
102cea3ab2 Removed debug
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3475 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-06 00:35:59 +00:00
brain
eb067467de Mode-code rewrite. Might act weird, needs proper testing (that is what svn builds are for, after all)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3474 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-06 00:29:02 +00:00
brain
777827ecd0 Tidied up ProcessLine, instead of a ton of strlens use a tiny bit of char* voodoo
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3473 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-05 22:21:42 +00:00
brain
5234aca22c Fixed to not show real server name if you have hiding of servernames in WHOIS
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3472 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-05 19:50:40 +00:00
brain
8662e00977 OPTIMIZED!!! OPTIMIZED!!!!! :-p
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3471 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-05 18:32:36 +00:00
om
168369f420 Ignore spaces/tabs
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3470 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-05 18:06:59 +00:00
om
b78f4284d5 Put it in alphabetical order and hope nobody noticed
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3469 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-05 17:57:32 +00:00
om
0233ce308b Add m_blockcaps to example config
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3468 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-05 17:57:05 +00:00
om
58307bad6b Change comment (I didn't c/p the +c module...honest)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3467 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-05 17:55:52 +00:00
om
7e4dec158b > != >= && < != <=
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3466 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-05 17:51:56 +00:00
om
43b5f0b7ab Add block caps module, I'm kinda between the extremes of 'Brain' and 'normal' here. Aka it compiles but I have nfi if it works :P
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3465 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-05 17:46:45 +00:00
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