2699 Commits

Author SHA1 Message Date
w00t
9f0bf03fbe Initial revision of /check - doesn't do anything yet
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3499 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-07 00:12:39 +00:00
brain
283ad2ba9f Improved ProcessParameters (removed strlen)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3498 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-07 00:11:23 +00:00
brain
496f9df539 Changed return to break in mainloop for better efficiency
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3497 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-06 22:34:39 +00:00
brain
59f0b6afc9 Tidied (and COMMENTED) CommandHandler::LoopCall() -- commit so that i can test on brainbox
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3496 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-06 18:34:29 +00:00
brain
ae57bb2c42 maxbans fixes
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3495 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-06 11:03:23 +00:00
brain
cf0748219e MaxBans -> maxbans
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3494 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-06 10:58:23 +00:00
brain
1da4da1d66 CM -> CM1
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3493 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-06 10:54:04 +00:00
brain
7e03928ccd select not case
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3492 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-06 10:50:54 +00:00
brain
480be29a95 Tidied GetMaxBans to leave the ConfigReader subsystem alone
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3491 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-06 10:44:42 +00:00
brain
814f144065 Tidyups
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3490 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-06 10:34:14 +00:00
brain
de918b3faa Removed unneccessary backticks from a copy/paste
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3489 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-06 09:57:47 +00:00
w00t
c503af3f39 More documentation.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3488 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-06 03:41:28 +00:00
w00t
78648e8c53 Yarr, fixed a typo in a comment, yarr
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3487 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-06 03:21:44 +00:00
w00t
b84421d671 Added the beginnings of some function documentation
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3486 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-06 03:20:25 +00:00
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