brain
903ba4e2eb
add_channel -> chanrec::JoinUser()
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4787 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-08 13:22:30 +00:00
brain
6f1b8f50dd
Change to chanrec::PartUser. As with KickUser and ServerKickUser, returns the number of users left, if it returns 0, delete the chanrec
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4786 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-08 12:52:24 +00:00
brain
25f6cb0fe6
kick_channel -> chanrec::KickUser(), server_kick_channel -> chanrec::ServerKickUser()
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4782 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-08 12:20:45 +00:00
brain
49ef1162a5
Alter SetModeParam to take const char* to save on casts, notice a load of modules that arent setting the param or the mode inside the handler
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4231 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-09 16:40:58 +00:00
brain
f6fc729c72
Did some renaming so that the methods for modes in chanrec and userrec are identical.
...
bool IsModeSet(const unsigned char c);
void SetMode(const unsigned char c, bool value);
Fixed m_botmode for new api
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4194 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-08 21:37:16 +00:00
om
ecb76110fd
A few more typedefs defined and put into use.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3866 e03df62e-2008-0410-955e-edbf42e46eb7
2006-04-10 20:38:26 +00:00
brain
572a7b503b
Commented a lot of stuff that hasnt been commented since 1.0.2
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3695 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-12 18:03:02 +00:00
brain
ced58c3be3
Renamed to chanrec::modes
...
Renamed IsCustomModeSet to IsModeSet
GetModeParameter will now return the channel limit (as a string) for a request for mode 'l' and the channel key for a request for mode 'k'.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3692 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-12 14:49:30 +00:00
brain
988568f3d1
*NEEDS TESTING* changed binarymodes to use the custom_modes entries
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3691 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-12 14:26:15 +00:00
brain
c738817483
Removed chanrec::binarymodes - insp wont compile atm do not use :p
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3690 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-12 13:38:16 +00:00
brain
c2a5839bcb
Probably wont compile yet - purge_empty_channels refactor
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3579 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-09 11:24:30 +00:00
brain
aaf5226111
Removed has_channel(userrec*,chanrec*), the new preferred way of doing it is channel->HasUser(userrec)
...
Yeah its the other way around to the old way, but somehow, seems less backwards to me (its also faster)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3560 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-08 23:16:18 +00:00
brain
21cf60233c
Got rid of all that ugly char* cast crap (todo: change docs to reflect change)
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3556 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-08 18:59:55 +00:00
brain
b2f5fc1e32
Fixed #defines to be enums (tidier)
...
Removed UCMODE_PROTECT/UCMODE_FOUNDER
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3555 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-08 18:25:51 +00:00
brain
bd155d5308
Actually, 64.
...
(256-64-128) = 64 chars printable alphabet (roughly)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3552 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-08 13:06:07 +00:00
brain
76174ede1d
chanrec::custom_modes only needs 96 values not 190
...
(256 - 32 - 128)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3551 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-08 13:05:07 +00:00
brain
6fef928da8
*TEST CODE* Faster custom mode set/unset
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3508 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-07 10:58:56 +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
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
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
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
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
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
4e9f3d1692
Added parameters
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1522 e03df62e-2008-0410-955e-edbf42e46eb7
2005-05-25 22:01:10 +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
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
3ffb95a123
Commented new functions
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1198 e03df62e-2008-0410-955e-edbf42e46eb7
2005-04-26 17:09:25 +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
740b09e2ae
Updated header comments
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@816 e03df62e-2008-0410-955e-edbf42e46eb7
2004-05-16 14:58:40 +00:00
brain
90cc4b0ee9
Provided modules with the ability to sync data on a netjoin
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@767 e03df62e-2008-0410-955e-edbf42e46eb7
2004-05-01 16:12:17 +00:00
brain
1a897a1910
Moved more types into Extensible
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@752 e03df62e-2008-0410-955e-edbf42e46eb7
2004-04-29 15:35:00 +00:00
brain
71247cc2f1
Added 'Extensible' class which allows modules to store custom data in objects
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@750 e03df62e-2008-0410-955e-edbf42e46eb7
2004-04-29 15:23:20 +00:00
brain
e9a6ab44bf
Added support for module-based chanmodes with parameters and the ability to query the mode states.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@374 e03df62e-2008-0410-955e-edbf42e46eb7
2004-04-04 13:41:01 +00:00
brain
abdb186046
Added support for module-defined chanmodes with no parameters
...
Fixed minor typo in example conf
Added new stylesheet and docs
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@362 e03df62e-2008-0410-955e-edbf42e46eb7
2004-04-03 15:46:53 +00:00
randomdan
61b45c935d
STL namespace fixes
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@176 e03df62e-2008-0410-955e-edbf42e46eb7
2003-07-22 21:56:38 +00:00
brain
e1cc6b33f4
Added more code for custom channel/user modes via modules
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@175 e03df62e-2008-0410-955e-edbf42e46eb7
2003-04-19 12:41:44 +00:00
brain
8f282762b0
Moved to Dev-C++ as an editor for project (more stable than gvim!)
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@158 e03df62e-2008-0410-955e-edbf42e46eb7
2003-01-30 17:51:45 +00:00
brain
f81a2e12b0
Modified documentation for base classes
...
Added base classes
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@151 e03df62e-2008-0410-955e-edbf42e46eb7
2003-01-26 23:53:03 +00:00
brain
73b9d0c5cb
Initial revision
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@132 e03df62e-2008-0410-955e-edbf42e46eb7
2003-01-23 19:45:57 +00:00