summaryrefslogtreecommitdiff
path: root/src/message.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Renamed to chanrec::modesGravatar brain2006-03-121-1/+1
| | | | | | | | 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
* *NEEDS TESTING* changed binarymodes to use the custom_modes entriesGravatar brain2006-03-121-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3691 e03df62e-2008-0410-955e-edbf42e46eb7
* Support for hostnames in <bind> tag (so long as the hostname resolves to a ↵Gravatar brain2006-03-101-3/+12
| | | | | | locally bindable ip) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3621 e03df62e-2008-0410-955e-edbf42e46eb7
* Segfault-causing typo (wrong var used for a loop, whoops)Gravatar brain2006-03-091-2/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3595 e03df62e-2008-0410-955e-edbf42e46eb7
* Added userrec::modebits - fast way of checking if user has +swi rather than ↵Gravatar brain2006-03-091-1/+1
| | | | | | an icky strchr git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3588 e03df62e-2008-0410-955e-edbf42e46eb7
* Change to ucrec* iteratorsGravatar brain2006-03-091-59/+45
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3582 e03df62e-2008-0410-955e-edbf42e46eb7
* Removed has_channel(userrec*,chanrec*), the new preferred way of doing it is ↵Gravatar brain2006-03-081-24/+1
| | | | | | | | | 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
* cmode now returns const char* as it returns a pointer to a literal string ↵Gravatar brain2006-03-081-1/+1
| | | | | | and shouldnt be messed with git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3557 e03df62e-2008-0410-955e-edbf42e46eb7
* Tidying, strlen, strcasecmp where not needed.Gravatar brain2006-03-071-11/+7
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3513 e03df62e-2008-0410-955e-edbf42e46eb7
* Made host fields more correct 64 in length with 63 copiesGravatar brain2006-03-021-2/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3425 e03df62e-2008-0410-955e-edbf42e46eb7
* Improved speed (not using strlen, take loop count)Gravatar brain2006-02-271-12/+4
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3360 e03df62e-2008-0410-955e-edbf42e46eb7
* Andy fucked up! :OGravatar brain2006-02-271-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3359 e03df62e-2008-0410-955e-edbf42e46eb7
* Oh yae, Oh Yae, back in old days of yore, Ye Brain doth set the nick buffer ↵Gravatar brain2006-02-221-1/+1
| | | | | | | | | | as NICKLEN+1 to ease understanding by newbs who didnt know what thou null terminator was. And yae, at a date later hence, Ye Brain then setteth ye buffer back to NICKLEN again. Alas, neither Ye Brain nor Ye trusty followers hath then setteth back the rest of the core to NICKLEN-1, and verily, chaos ensued. :p git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3286 e03df62e-2008-0410-955e-edbf42e46eb7
* Tweak to allow @%+ to all exist on a user at once during burstGravatar brain2006-02-121-0/+18
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3170 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix crashbug, copying MAXLEN into a MAXGECOS+1 field != cunningGravatar om2006-02-091-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3146 e03df62e-2008-0410-955e-edbf42e46eb7
* Fixed WHOIS to respect +i channels, optimized in case where source == target ↵Gravatar brain2006-02-071-2/+4
| | | | | | by shortcircuiting operators git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3123 e03df62e-2008-0410-955e-edbf42e46eb7
* Added numeric 396 ("x :is now your hidden host") from hybrid/ircuGravatar brain2006-02-021-0/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3025 e03df62e-2008-0410-955e-edbf42e46eb7
* Typecast fixGravatar brain2006-01-261-2/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2914 e03df62e-2008-0410-955e-edbf42e46eb7
* Merged Andy Church's isnick() and isident() patches - faster, more ↵Gravatar brain2006-01-261-22/+16
| | | | | | | | | efficient, and doesnt accidentally allow "-" as the first character of a nickname Also adapted to iterate over a char* pointer rather than using unsigned int for the for() loops git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2913 e03df62e-2008-0410-955e-edbf42e46eb7
* Updated copyrights in headers etc using perl inplace editGravatar brain2006-01-151-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2795 e03df62e-2008-0410-955e-edbf42e46eb7
* Double copies due to bad chop()Gravatar brain2005-12-291-3/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2705 e03df62e-2008-0410-955e-edbf42e46eb7
* More removal of formatting where its not neccessary x("%s",str) == bad!Gravatar brain2005-12-291-2/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2704 e03df62e-2008-0410-955e-edbf42e46eb7
* Adding hook type checking to event calls to speed them upGravatar brain2005-12-261-5/+5
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2653 e03df62e-2008-0410-955e-edbf42e46eb7
* Full removal of inspircd_util.hGravatar brain2005-12-151-1/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2485 e03df62e-2008-0410-955e-edbf42e46eb7
* Fixed unresolved reference to Config::DNSServerGravatar brain2005-12-141-2/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2398 e03df62e-2008-0410-955e-edbf42e46eb7
* Fixed unresolved externalGravatar brain2005-12-141-6/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2397 e03df62e-2008-0410-955e-edbf42e46eb7
* Added parameter to apply_lines to indicate what we want to applyGravatar brain2005-12-141-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2391 e03df62e-2008-0410-955e-edbf42e46eb7
* tidystring() anal optimisationGravatar w00t2005-12-141-15/+19
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2388 e03df62e-2008-0410-955e-edbf42e46eb7
* optimized a ton of strcmps down to an integer comparison!Gravatar brain2005-12-131-2/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2385 e03df62e-2008-0410-955e-edbf42e46eb7
* Modified chlist() and whois to allow output of multi line channel membership ↵Gravatar brain2005-12-131-15/+6
| | | | | | list (!) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2373 e03df62e-2008-0410-955e-edbf42e46eb7
* Modified channel joining to allow > MAXCHANS for opers/remote (when complete)Gravatar brain2005-12-131-7/+7
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2368 e03df62e-2008-0410-955e-edbf42e46eb7
* Made MAXCHANS growable for opers/ulines (growing of list not implemented yet)Gravatar brain2005-12-131-7/+7
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2367 e03df62e-2008-0410-955e-edbf42e46eb7
* Added OnChangeHostGravatar brain2005-12-051-0/+2
| | | | | | | Added OnChangeName git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2181 e03df62e-2008-0410-955e-edbf42e46eb7
* Fixed bug where halfops on ulined servers are promoted to @Gravatar brain2005-12-031-3/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2126 e03df62e-2008-0410-955e-edbf42e46eb7
* Added ability for ulined servers to set any arbitary channel mode (even from ↵Gravatar brain2005-12-021-0/+8
| | | | | | outside the channel) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2113 e03df62e-2008-0410-955e-edbf42e46eb7
* Removed references to deprecated files servers.* and connection.*Gravatar brain2005-11-251-2/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1941 e03df62e-2008-0410-955e-edbf42e46eb7
* Removal of mesh stuff (lots of)Gravatar brain2005-11-251-13/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1938 e03df62e-2008-0410-955e-edbf42e46eb7
* Many linking fixesGravatar brain2005-06-011-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1578 e03df62e-2008-0410-955e-edbf42e46eb7
* Started on -Wall - safe compileGravatar brain2005-05-301-3/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1570 e03df62e-2008-0410-955e-edbf42e46eb7
* Fixed fd_Setsize in cygwinGravatar brain2005-05-281-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1541 e03df62e-2008-0410-955e-edbf42e46eb7
* Changed representation of MAXNICK in isnick() to allow for a non-incremented ↵Gravatar brain2005-05-261-1/+1
| | | | | | size git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1530 e03df62e-2008-0410-955e-edbf42e46eb7
* Removed __single_client_alloc again because gcc devs were smoking crack and ↵Gravatar brain2005-05-161-2/+2
| | | | | | removed it git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1406 e03df62e-2008-0410-955e-edbf42e46eb7
* Changed to use __single_client_alloc, faster on most systems in a single threadGravatar brain2005-05-151-34/+4
| | | | | | | Specified namespace std in *all* files git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1404 e03df62e-2008-0410-955e-edbf42e46eb7
* sorted hashcomp etcGravatar brain2005-05-151-6/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1387 e03df62e-2008-0410-955e-edbf42e46eb7
* Moved a ton of functions into helperfuncs.h to speed up recompilesGravatar brain2005-05-151-0/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1383 e03df62e-2008-0410-955e-edbf42e46eb7
* Structure optimizations, changed a lot of bools into binary bitmasksGravatar brain2005-05-121-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1368 e03df62e-2008-0410-955e-edbf42e46eb7
* Fixes to:Gravatar brain2005-05-051-2/+3
| | | | | | | | | +s and +p channels wouldn't be synched correctly +s and +p never show in whois even when you're a member of them +s and +p never show in list even if you're a member of them git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1308 e03df62e-2008-0410-955e-edbf42e46eb7
* Fixed weird line wrapping bug with extremely long linesGravatar brain2005-05-021-4/+5
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1277 e03df62e-2008-0410-955e-edbf42e46eb7
* Major code tidyup (-W) - expect a few belchesGravatar brain2005-04-261-11/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1190 e03df62e-2008-0410-955e-edbf42e46eb7
* Added new API methods:Gravatar brain2005-04-151-0/+16
| | | | | | | | | | | | | | | int Module::OnRawMode(userrec* user, char mode, std::string param, bool adding, int pcnt); int Module::OnCheckInvite(userrec* user, chanrec* chan); int Module::OnCheckKey(userrec* user, chanrec* chan, std::string keygiven); int Module::OnCheckLimit(userrec* user, chanrec* chan); int Module::OnCheckBan(userrec* user, chanrec* chan); void Module::OnStats(char symbol); int Module::OnChangeLocalUserHost(userrec* user, std::string newhost); int Module::OnChangeLocalUserGECOS(userrec* user, std::string newhost); int Module::OnLocalTopicChange(userrec* user, chanrec* chan, std::string topic); git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1105 e03df62e-2008-0410-955e-edbf42e46eb7