summaryrefslogtreecommitdiff
path: root/src/message.cpp
AgeCommit message (Collapse)Author
2006-03-08Removed has_channel(userrec*,chanrec*), the new preferred way of doing it is ↵brain
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-08cmode now returns const char* as it returns a pointer to a literal string ↵brain
and shouldnt be messed with git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3557 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-07Tidying, strlen, strcasecmp where not needed.brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3513 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-02Made host fields more correct 64 in length with 63 copiesbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3425 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-27Improved speed (not using strlen, take loop count)brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3360 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-27Andy fucked up! :Obrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3359 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-22Oh yae, Oh Yae, back in old days of yore, Ye Brain doth set the nick buffer ↵brain
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
2006-02-12Tweak to allow @%+ to all exist on a user at once during burstbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3170 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-09Fix crashbug, copying MAXLEN into a MAXGECOS+1 field != cunningom
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3146 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-07Fixed WHOIS to respect +i channels, optimized in case where source == target ↵brain
by shortcircuiting operators git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3123 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-02Added numeric 396 ("x :is now your hidden host") from hybrid/ircubrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3025 e03df62e-2008-0410-955e-edbf42e46eb7
2006-01-26Typecast fixbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2914 e03df62e-2008-0410-955e-edbf42e46eb7
2006-01-26Merged Andy Church's isnick() and isident() patches - faster, more ↵brain
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
2006-01-15Updated copyrights in headers etc using perl inplace editbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2795 e03df62e-2008-0410-955e-edbf42e46eb7
2005-12-29Double copies due to bad chop()brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2705 e03df62e-2008-0410-955e-edbf42e46eb7
2005-12-29More removal of formatting where its not neccessary x("%s",str) == bad!brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2704 e03df62e-2008-0410-955e-edbf42e46eb7
2005-12-26Adding hook type checking to event calls to speed them upbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2653 e03df62e-2008-0410-955e-edbf42e46eb7
2005-12-15Full removal of inspircd_util.hbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2485 e03df62e-2008-0410-955e-edbf42e46eb7
2005-12-14Fixed unresolved reference to Config::DNSServerbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2398 e03df62e-2008-0410-955e-edbf42e46eb7
2005-12-14Fixed unresolved externalbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2397 e03df62e-2008-0410-955e-edbf42e46eb7
2005-12-14Added parameter to apply_lines to indicate what we want to applybrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2391 e03df62e-2008-0410-955e-edbf42e46eb7
2005-12-14tidystring() anal optimisationw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2388 e03df62e-2008-0410-955e-edbf42e46eb7
2005-12-13optimized a ton of strcmps down to an integer comparison!brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2385 e03df62e-2008-0410-955e-edbf42e46eb7
2005-12-13Modified chlist() and whois to allow output of multi line channel membership ↵brain
list (!) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2373 e03df62e-2008-0410-955e-edbf42e46eb7
2005-12-13Modified channel joining to allow > MAXCHANS for opers/remote (when complete)brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2368 e03df62e-2008-0410-955e-edbf42e46eb7
2005-12-13Made MAXCHANS growable for opers/ulines (growing of list not implemented yet)brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2367 e03df62e-2008-0410-955e-edbf42e46eb7
2005-12-05Added OnChangeHostbrain
Added OnChangeName git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2181 e03df62e-2008-0410-955e-edbf42e46eb7
2005-12-03Fixed bug where halfops on ulined servers are promoted to @brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2126 e03df62e-2008-0410-955e-edbf42e46eb7
2005-12-02Added ability for ulined servers to set any arbitary channel mode (even from ↵brain
outside the channel) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2113 e03df62e-2008-0410-955e-edbf42e46eb7
2005-11-25Removed references to deprecated files servers.* and connection.*brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1941 e03df62e-2008-0410-955e-edbf42e46eb7
2005-11-25Removal of mesh stuff (lots of)brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1938 e03df62e-2008-0410-955e-edbf42e46eb7
2005-06-01Many linking fixesbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1578 e03df62e-2008-0410-955e-edbf42e46eb7
2005-05-30Started on -Wall - safe compilebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1570 e03df62e-2008-0410-955e-edbf42e46eb7
2005-05-28Fixed fd_Setsize in cygwinbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1541 e03df62e-2008-0410-955e-edbf42e46eb7
2005-05-26Changed representation of MAXNICK in isnick() to allow for a non-incremented ↵brain
size git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1530 e03df62e-2008-0410-955e-edbf42e46eb7
2005-05-16Removed __single_client_alloc again because gcc devs were smoking crack and ↵brain
removed it git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1406 e03df62e-2008-0410-955e-edbf42e46eb7
2005-05-15Changed to use __single_client_alloc, faster on most systems in a single threadbrain
Specified namespace std in *all* files git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1404 e03df62e-2008-0410-955e-edbf42e46eb7
2005-05-15sorted hashcomp etcbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1387 e03df62e-2008-0410-955e-edbf42e46eb7
2005-05-15Moved a ton of functions into helperfuncs.h to speed up recompilesbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1383 e03df62e-2008-0410-955e-edbf42e46eb7
2005-05-12Structure optimizations, changed a lot of bools into binary bitmasksbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1368 e03df62e-2008-0410-955e-edbf42e46eb7
2005-05-05Fixes to:brain
+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
2005-05-02Fixed weird line wrapping bug with extremely long linesbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1277 e03df62e-2008-0410-955e-edbf42e46eb7
2005-04-26Major code tidyup (-W) - expect a few belchesbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1190 e03df62e-2008-0410-955e-edbf42e46eb7
2005-04-15Added new API methods:brain
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
2005-04-15Made cmode and chanmode more safebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1099 e03df62e-2008-0410-955e-edbf42e46eb7
2005-04-07Fixed a double free in dnsqueue.cppbrain
Fixed a resolver issue (weird segfault on gentoo?) in server linking git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@995 e03df62e-2008-0410-955e-edbf42e46eb7
2005-04-05Major optimizations!brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@982 e03df62e-2008-0410-955e-edbf42e46eb7
2005-03-25Added implementation of strlcpy and strlcat for systems that dont have itbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@905 e03df62e-2008-0410-955e-edbf42e46eb7
2005-03-25Changed occurances of vector to std::vectorbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@900 e03df62e-2008-0410-955e-edbf42e46eb7
2004-09-11Security audit based on RATS outputbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@855 e03df62e-2008-0410-955e-edbf42e46eb7