412 Commits

Author SHA1 Message Date
brain
d5d8a5987b Moved custom_mode_params to per-channel
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3223 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-15 20:30:29 +00:00
brain
feaf72ecb4 Removed a whole lot of strchr's looking for mode +o where we can do if *user->oper
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3221 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-15 19:23:01 +00:00
w00t
c2f7cbbd15 - Fixed some HORRIBLE indenting. Tabs, please.
- Fixed channel keys being case insensetive.
- Added a 'XXX' fixme.


git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3214 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-15 04:04:57 +00:00
brain
46b40a6287 Fixed cosmetic 'need to be halfop to change modes' when kicking
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3138 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-08 11:02:34 +00:00
brain
3a5480d6ed Match bans against user::ip4 in add_channel
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3134 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-08 10:24:13 +00:00
w00t
02df4f4d07 Potential fix for CS Testnet bug, thanks to Special for helping with this one.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3133 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-08 09:16:14 +00:00
brain
dfa6568af2 Re-organized order of cmd_kick stuff (OnUserPreKick) to make override kicks work nicer
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3085 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-05 00:19:25 +00:00
brain
774478aaab Bugfix #69
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3058 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-03 17:58:37 +00:00
brain
0a58b25ad7 Tidyup op/halfop/voice list on part/quit
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3054 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-03 17:37:36 +00:00
brain
785bfb8a0b Typo fix #1
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3048 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-03 17:23:49 +00:00
brain
9ebbd138cc This probably wont compile atm - add support for prefixed messages
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3046 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-03 17:20:40 +00:00
brain
952b577edc Only access-check local user kicks
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3008 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-01 20:28:13 +00:00
brain
3816f3dd12 Made bans check both real and fake host
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2873 e03df62e-2008-0410-955e-edbf42e46eb7
2006-01-23 20:37:20 +00:00
brain
715dab1753 Fixes to make server kicks work
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2831 e03df62e-2008-0410-955e-edbf42e46eb7
2006-01-22 19:33:53 +00:00
brain
93e3cda102 Added facility for servers to send KICK message (ew, i hate this crap)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2830 e03df62e-2008-0410-955e-edbf42e46eb7
2006-01-22 19:23:20 +00:00
brain
02280596a0 Added OnChannelDelete() method (called on KICK, PART or QUIT where a channel is deleted for cleanup of metadata)
Added m_messageflood.so (not yet finished, do not use yet)


git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2826 e03df62e-2008-0410-955e-edbf42e46eb7
2006-01-22 15:51:06 +00:00
brain
ece2c5daca strncpy sucks ass! -- Old code was using strncpy which doesnt null terminate a string if the string fills a buffer (!!!) - our strlcpy implementation fixes this.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2817 e03df62e-2008-0410-955e-edbf42e46eb7
2006-01-18 20:03:24 +00:00
brain
7e6dfdf211 Added support for part messages in the module API (and therefore between servers too)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2815 e03df62e-2008-0410-955e-edbf42e46eb7
2006-01-17 21:39:35 +00:00
brain
1383dba43e Updated copyrights in headers etc using perl inplace edit
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2795 e03df62e-2008-0410-955e-edbf42e46eb7
2006-01-15 15:59:11 +00:00
brain
8aa7f73bd7 Changed channel user lists from vector to map
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2780 e03df62e-2008-0410-955e-edbf42e46eb7
2006-01-12 20:14:43 +00:00
brain
6f009062aa Fixed broken checks to allow overriding
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2707 e03df62e-2008-0410-955e-edbf42e46eb7
2005-12-30 12:00:37 +00:00
brain
a9b90ecb43 Adding hook type checking to event calls to speed them up
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2653 e03df62e-2008-0410-955e-edbf42e46eb7
2005-12-26 17:26:16 +00:00
brain
4ffd644a14 Optimized out strcpys that copy empty strings (craq++)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2637 e03df62e-2008-0410-955e-edbf42e46eb7
2005-12-22 17:18:18 +00:00
brain
423a1d78a0 Improved efficiency of chanrec constructor (removed strcpys)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2633 e03df62e-2008-0410-955e-edbf42e46eb7
2005-12-22 12:37:35 +00:00
brain
0465fd1da7 Full removal of inspircd_util.h
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2485 e03df62e-2008-0410-955e-edbf42e46eb7
2005-12-15 18:08:07 +00:00
brain
0c7ed930d5 Fixed to use irc::string now for invite functions
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2470 e03df62e-2008-0410-955e-edbf42e46eb7
2005-12-15 13:47:59 +00:00
brain
70f135207c Code tidying
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2440 e03df62e-2008-0410-955e-edbf42e46eb7
2005-12-14 18:28:23 +00:00
brain
7c1488c4eb Tidying of stuff
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2427 e03df62e-2008-0410-955e-edbf42e46eb7
2005-12-14 17:44:38 +00:00
brain
fb99e9eaa2 Fixing move of *_channel functions to here
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2423 e03df62e-2008-0410-955e-edbf42e46eb7
2005-12-14 17:10:40 +00:00
brain
4aa2252476 Moved add_channel, del_channel, kick_channel to channels.cpp
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2422 e03df62e-2008-0410-955e-edbf42e46eb7
2005-12-14 17:07:47 +00:00
brain
d582107b33 Started moving of data into ServerConfig class
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2393 e03df62e-2008-0410-955e-edbf42e46eb7
2005-12-14 10:51:18 +00:00
brain
3a2679d0e4 Removal of some trivial debug output
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2355 e03df62e-2008-0410-955e-edbf42e46eb7
2005-12-12 18:19:33 +00:00
brain
382e957521 Fixes for removal of serverrec
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1946 e03df62e-2008-0410-955e-edbf42e46eb7
2005-11-25 13:03:03 +00:00
brain
ba0e6d9c7b Removed references to deprecated files servers.* and connection.*
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1941 e03df62e-2008-0410-955e-edbf42e46eb7
2005-11-25 12:22:03 +00:00
brain
bf6ec00f3d Fixed fd_Setsize in cygwin
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1541 e03df62e-2008-0410-955e-edbf42e46eb7
2005-05-28 20:30:06 +00:00
brain
55bd1494b0 Removed __single_client_alloc again because gcc devs were smoking crack and removed it
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1406 e03df62e-2008-0410-955e-edbf42e46eb7
2005-05-16 11:31:58 +00:00
brain
ab01aaeeee Changed to use __single_client_alloc, faster on most systems in a single thread
Specified namespace std in *all* files


git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1404 e03df62e-2008-0410-955e-edbf42e46eb7
2005-05-15 22:58:24 +00:00
brain
c4a230243f sorted hashcomp etc
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1387 e03df62e-2008-0410-955e-edbf42e46eb7
2005-05-15 04:21:31 +00:00
brain
eb4229deed Moved a ton of functions into helperfuncs.h to speed up recompiles
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1383 e03df62e-2008-0410-955e-edbf42e46eb7
2005-05-15 03:03:23 +00:00
brain
194838af39 Changed the type of struct whowas records are stored in (no need to waste a big heavy userrec)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1369 e03df62e-2008-0410-955e-edbf42e46eb7
2005-05-12 19:09:42 +00:00
brain
2cd3b57fe0 Structure optimizations, changed a lot of bools into binary bitmasks
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1368 e03df62e-2008-0410-955e-edbf42e46eb7
2005-05-12 18:42:06 +00:00
brain
275d48551c Fixed weird bug where on mass join/part flood, the channel would be
purged before it was actually empty due to its counters being screwed up


git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1360 e03df62e-2008-0410-955e-edbf42e46eb7
2005-05-11 01:24:59 +00:00
brain
40d674d14c Fixes to way allocations are handled
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1346 e03df62e-2008-0410-955e-edbf42e46eb7
2005-05-09 17:51:22 +00:00
brain
a81394b65d Changed the final bunch of udp_* vars to server_*/tcp_*
Fixed ircservices sending PING


git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1326 e03df62e-2008-0410-955e-edbf42e46eb7
2005-05-08 00:52:03 +00:00
brain
e06a27ff0c Added /stats T
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1280 e03df62e-2008-0410-955e-edbf42e46eb7
2005-05-02 17:23:40 +00:00
brain
6d56b904fc Major *MAJOR* optimizations by double-referencing channels to users
(never need to scan the entire user hash again except in very rare circumstances)


git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1197 e03df62e-2008-0410-955e-edbf42e46eb7
2005-04-26 17:01:59 +00:00
brain
90b9864a0e Added channel 'counter', increases speed of quits, parts, kicks
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1194 e03df62e-2008-0410-955e-edbf42e46eb7
2005-04-26 15:14:05 +00:00
brain
5cce62f7d7 Major optimizations!
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@982 e03df62e-2008-0410-955e-edbf42e46eb7
2005-04-05 18:01:28 +00:00
brain
9f1bd74b09 Added implementation of strlcpy and strlcat for systems that dont have it
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@905 e03df62e-2008-0410-955e-edbf42e46eb7
2005-03-25 19:25:41 +00:00
brain
71552d40b6 Changed occurances of vector to std::vector
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@900 e03df62e-2008-0410-955e-edbf42e46eb7
2005-03-25 05:32:34 +00:00