summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2006-12-22Fixed to compile properly with -O; keep in mind that this is not supported, ↵special
use at your own risk. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6058 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-21Fix for bug #180, logging is not threadsafe, mutex it (ew, luckily we dont ↵brain
log much) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6056 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-21And back onto the SVN track...brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6055 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-21Beta 6, patchlevel 1 (lets try this again.)brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6053 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-21Proper fix for CS server crash, forgot to delete chanrec* from users ↵peavey
chanlist on PurgeEmptyChannels() git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6052 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-21Crude hotfix to what's been crashing chatspikepeavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6051 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-21This should fix the issue with unsetting +Jspecial
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6050 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-19When we handle a READ event on a user, return immediately.brain
This is because the read event may remove the user, in which case the !empty and quituser check below will address invalid data! git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6049 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-19Fix server prefix on JOIN.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6048 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-18Avoid no such nick on non oper attempting to view modes of a user.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6047 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-18std::string something = "";brain
is the most redundant and wasteful thing in the world, apart from unrealircd. BE GONE WITH IT! git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6046 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-18Whack a warning (unused var)brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6045 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-18Then, realize you got your subtraction back to front.brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6044 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-18Really clever VOODOO.brain
RegisteredUserCount() used to take longer to execute than UnregisteredUserCount(), as all unregged users are local, so you only need to count in the local vector not the global map. Therefore, make RegisteredUserCount() just return this: this->UnregisteredUserCount() - clientlist.size() git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6043 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-18Refactor dns.cpp to use an array of request types rather than map, for O(1) ↵brain
lookup time git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6042 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-18Fix bug in m_dnsbl: Only the first <dnsbl> tag would be processed.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6041 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-17Advance the version number to beta7+SVNbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6039 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-17Branch for beta 6 Juletrebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6037 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-17Fix this (at last) to only log commands which are operonlybrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6036 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-17Correctly send TS in JOIN so that services packages etc dont become ↵brain
desynched (plus our own protocol docs say we do this when we send JOIN, oops breaking my own standards now) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6034 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-17Dont use FJOIN to join users to channels outside the burst (revert to ↵brain
earlier betas behaviour) which should prevent some spurious deops during normal operation git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6032 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-17Invented safe delete-while-itering for hash_map.peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6029 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-17When receiving an FJOIN, if we have no local users, dont send deops, this ↵brain
just contributes to pointless server noise git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6028 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-17Handle removal of permenant svsholdsbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6027 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-17Fix potential crash, not enough parameters for va_arg when adding perm SVSHOLDbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6026 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-17Fix a little = turned into a ==peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6025 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-17Use safe iter for deleting while iteratingpeavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6024 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-17someone test this pleasebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6023 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-17If the caller said no linefeeds, dont bail, instead just turn the linefeeds ↵brain
into spaces, so that "aaaa bbbb" becomes "aaaa bbbb". git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6022 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-16Add format="" value, at request of Emeric.brain
See: http://www.inspircd.org/forum/index.php/topic,245.0.html git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6019 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-16Config option added for prefixed channel NOTICEs and PRIVMSGs to turn on/off ↵peavey
IRCU style of adding prefix to outgoing text. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6018 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-16Add stuff so that the core catches CoreException properlybrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6017 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-16Allow linefeeds in this module in one valuebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6016 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-16Tidy up text formattingbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6015 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-16Change m_helpop to use the new boolean flag in ReadConf for allowing ↵brain
newlines, tidy up text formatting a bit. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6014 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-16Add an optional parameter to ConfigReader::ReadValue which defines if we ↵brain
want linefeeds or not. Tidy up some duplicated code in configreader (error reporting) Change ModuleException to inherit from CoreException, have the configreader throw and catch its CoreException on fatal error git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6013 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-16Add some comments to explain whats going off in one of the TreeSocket ↵brain
constructors git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6011 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-16Not sending capab when theres no transport module attached to a server socketbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6010 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-16Get rid of HelpopException, use ModuleException thats had reasons for ages nowbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6009 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-16w00t: the power to rewrite modules in the leap of a small tiredness barrier. ↵w00t
helpop refactored to use a leet cached map lookup, should be fast, leet, cool, etc. I'm going to bed. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6008 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-16Make SNO notice for +o globalpeavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6007 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-16Make irc::spacify take 'const char*' instead of 'char*'peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6005 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-16Linefeeds in quotes, just for w00t.brain
WARNING: THIS NEEDS SOME EXTRA STUFF TOMORROW: Someone remind me to add a 'no linefeeds' bool flag to ConfigReader::ReadValue, because a lot of values should NOT have linefeeds in! git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6004 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-16Usermode +G allowed opers to change other user's modes. As the core doesn't ↵w00t
follow this behaviour anymore, neither does it. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6002 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-16Fix setting of * for bans in m_messageflood, this has been broken for quite ↵brain
some time and nobody noticed? :P Spotted on barafranca, tested on chatspike. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6001 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-15s/ChatSpike/InspIRCd/ development teamw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5999 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-15Still more massive commit fun. Headers in include/ still to be done, else ↵w00t
that's it. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5997 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-15Jesus, look who's the commit whore today. More header updates, and removal ↵w00t
of namespacing. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5996 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-15Remove global namespacing, makes modules compile FASTAH. Also massive update ↵w00t
on headers (change to InspIRCd Development Team, extend copyright to 2007). git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5995 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-15Try harder to make sure the ERROR string gets sent when closing a connectionbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5994 e03df62e-2008-0410-955e-edbf42e46eb7